5 cur="${COMP_WORDS[COMP_CWORD]}"
6 prev="${COMP_WORDS[COMP_CWORD-1]}"
8 '-h'|'--help'|'-V'|'--version')
14 OPTS="--ctty --wait --help --version"
15 COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
19 compopt -o bashdefault
20 COMPREPLY=( $(compgen -c -- $cur) )
23 complete -F _setsid_module setsid