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