5 cur="${COMP_WORDS[COMP_CWORD]}"
6 prev="${COMP_WORDS[COMP_CWORD-1]}"
11 COMPREPLY=( $(compgen -o dirnames -- ${cur:-"/"}) )
14 '-h'|'--help'|'-V'|'--version')
18 OPTS='--verbose --destination --help --version file'
19 COMPREPLY=( $(compgen -W "${OPTS[*]}" -S ' ' -- $cur) )
22 complete -F _fsck.cramfs_module fsck.cramfs