5 cur="${COMP_WORDS[COMP_CWORD]}"
6 prev="${COMP_WORDS[COMP_CWORD-1]}"
8 '-h'|'--help'|'-V'|'--version')
14 OPTS="--verbose --symlink --help --version --no-act --no-override --interactive"
15 COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
21 COMPREPLY=( $(compgen -W "expression" -- $cur) )
24 COMPREPLY=( $(compgen -W "replacement" -- $cur) )
29 COMPREPLY=( $(compgen -f -- $cur) )
34 complete -F _rename_module rename