5 cur="${COMP_WORDS[COMP_CWORD]}"
6 prev="${COMP_WORDS[COMP_CWORD-1]}"
9 COMPREPLY=( $(compgen -W "size" -- $cur) )
15 COMPREPLY=( $(compgen -o dirnames -- ${cur:-"/"}) )
18 '-h'|'--help'|'-V'|'--version')
24 COMPREPLY=( $(compgen -W "--verbose --blocksize --extract --help --version" -- $cur) )
28 compopt -o bashdefault -o default
29 COMPREPLY=( $(compgen -W "$(lsblk -pnro name)" -- $cur) )
32 complete -F _fsck.cramfs_module fsck.cramfs