5 cur="${COMP_WORDS[COMP_CWORD]}"
6 prev="${COMP_WORDS[COMP_CWORD-1]}"
12 COMPREPLY=( $(compgen -W "$(swapon --show=UUID --noheading)" -- $cur) )
16 COMPREPLY=( $(compgen -W "$(swapon --show=LABEL --noheading)" -- $cur) )
19 '-h'|'--help'|'-V'|'--version')
31 COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
35 COMPREPLY=( $(compgen -W "$(swapon --show=NAME --raw --noheading)" -- $cur) )
38 complete -F _swapoff_module swapoff