5 cur="${COMP_WORDS[COMP_CWORD]}"
6 prev="${COMP_WORDS[COMP_CWORD-1]}"
9 COMPREPLY=( $(compgen -W "auto never always" -- $cur) )
13 COMPREPLY=( $(compgen -W "format" -- $cur) )
17 COMPREPLY=( $(compgen -W "length" -- $cur) )
21 COMPREPLY=( $(compgen -W "offset" -- $cur) )
24 '-V'|'--version'|'-h'|'--help')
30 OPTS=" --one-byte-octal
44 COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
50 COMPREPLY=( $(compgen -f -- $cur) )
53 complete -F _hexdump_module hexdump