5 cur="${COMP_WORDS[COMP_CWORD]}"
6 prev="${COMP_WORDS[COMP_CWORD-1]}"
8 '-h'|'--help'|'-V'|'--version')
12 DEVS=$(for I in echo /dev/fd*; do if [ -e $I ]; then echo $I; fi; done)
13 OPTS="-n --no-verify -h --help -V --version $DEVS"
14 COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
17 complete -F _fdformat_module fdformat