5 cur="${COMP_WORDS[COMP_CWORD]}"
6 prev="${COMP_WORDS[COMP_CWORD-1]}"
9 COMPREPLY=( $(compgen -W "label" -- $cur) )
13 COMPREPLY=( $(compgen -W '$(uuidgen)' -- $cur) )
16 '-h'|'--help'|'-V'|'--version')
22 OPTS="--label --uuid --help --version"
23 COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
29 COMPREPLY=( $(compgen -f -- $cur) )
32 complete -F _swaplabel_module swaplabel