5 cur="${COMP_WORDS[COMP_CWORD]}"
6 prev="${COMP_WORDS[COMP_CWORD-1]}"
9 COMPREPLY=( $(compgen -W "auto never always" -- $cur) )
12 '-V'|'--version'|'h'|'--help')
24 COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
28 compopt -o bashdefault -o default
29 COMPREPLY=( $(compgen -W "$(lsblk -pnro name)" -- $cur) )
32 complete -F _cfdisk_module cfdisk