5 cur="${COMP_WORDS[COMP_CWORD]}"
6 prev="${COMP_WORDS[COMP_CWORD-1]}"
8 '-h'|'--help'|'-V'|'--version')
14 OPTS="--version --help"
15 COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
19 COMPREPLY=( $(compgen -g -- $cur) )
22 complete -F _newgrp_module newgrp