]> git.ipfire.org Git - thirdparty/util-linux.git/blame - shell-completion/mesg
bash-completion: term-utils
[thirdparty/util-linux.git] / shell-completion / mesg
CommitLineData
8884f6d5
SK
1_mesg_module()
2{
3 local cur OPTS
4 COMPREPLY=()
5 cur="${COMP_WORDS[COMP_CWORD]}"
6 case $cur in
7 -*)
8 OPTS="-v --verbose -V --version -h --help"
9 COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
10 return 0
11 ;;
12 esac
13 COMPREPLY=( $(compgen -W "y n" -- $cur) )
14 return 0
15}
16complete -F _mesg_module mesg