5 cur="${COMP_WORDS[COMP_CWORD]}"
6 prev="${COMP_WORDS[COMP_CWORD-1]}"
8 '-d'|'--divisor'|'-m'|'--maxdelay')
9 COMPREPLY=( $(compgen -W "digit" -- $cur) )
12 '-h'|'--help'|'-V'|'--version')
24 COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
30 COMPREPLY=( $(compgen -f -- $cur) )
33 complete -F _scriptreplay_module scriptreplay