5 cur="${COMP_WORDS[COMP_CWORD]}"
6 prev="${COMP_WORDS[COMP_CWORD-1]}"
8 '-u'|'--help'|'-v'|'--version')
14 OPTS="--full-name --office --office-phone --home-phone --help --version"
15 COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
19 COMPREPLY=( $(compgen -u -- $cur) )
22 complete -F _chfn_module chfn