blob: 62c98ca29bb1036fe386cacc849aee19c46b82b5 (
plain) (
tree)
|
|
_mesg_module()
{
local cur OPTS
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
case $cur in
-*)
OPTS="-v --verbose -V --version -h --help"
COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
return 0
;;
esac
COMPREPLY=( $(compgen -W "y n" -- $cur) )
return 0
}
complete -F _mesg_module mesg
|