5 cur="${COMP_WORDS[COMP_CWORD]}"
6 prev="${COMP_WORDS[COMP_CWORD-1]}"
10 COMPREPLY=( $(compgen -c -- $cur) )
14 COMPREPLY=( $(compgen -W "auto always never" -- $cur) )
17 '-o'|'--output-limit')
18 COMPREPLY=( $(compgen -W "size" -- $cur) )
21 '-m'|'--logging-format')
22 COMPREPLY=( $(compgen -W "classic advanced" -- $cur) )
25 '-h'|'--help'|'-V'|'--version')
50 COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
56 COMPREPLY=( $(compgen -f -- $cur) )
59 complete -F _script_module script