5 cur="${COMP_WORDS[COMP_CWORD]}"
6 prev="${COMP_WORDS[COMP_CWORD-1]}"
9 COMPREPLY=( $(compgen -W "auto never always" -- $cur) )
12 '-d'|'--divisor'|'-m'|'--maxdelay')
13 COMPREPLY=( $(compgen -W "digit" -- $cur) )
17 COMPREPLY=( $(compgen -W "out in signal info" -- $cur) )
20 '-h'|'--help'|'-V'|'--version')
39 COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
45 COMPREPLY=( $(compgen -f -- $cur) )
48 complete -F _scriptreplay_module scriptreplay