5 cur="${COMP_WORDS[COMP_CWORD]}"
6 prev="${COMP_WORDS[COMP_CWORD-1]}"
9 COMPREPLY=( $(compgen -W "offset" -- $cur) )
15 COMPREPLY=( $(compgen -W "$TYPES" -- $cur) )
18 '-h'|'--help'|'-V'|'--version')
24 OPTS="-a --all -f --force -h --help -n --no-actn -o --offset -p --parsable -q --quiet -t --types -V --version"
25 COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
30 DEVS=''; while read dev; do DEVS+="$dev " ; done < <(lsblk -pnro name)
31 COMPREPLY=( $(compgen -W "$DEVS" -- $cur) )
34 complete -F _wipefs_module wipefs