diff options
Diffstat (limited to 'completions/pv')
-rw-r--r-- | completions/pv | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/completions/pv b/completions/pv index 007bb36b..99933f29 100644 --- a/completions/pv +++ b/completions/pv @@ -6,26 +6,26 @@ _pv() _init_completion || return case $prev in - --help|--version|--last-written|--format|--delay-start|--interval|\ - --width|--height|--name|--rate-limit|--buffer-size|-!(-*)[hVAFDiwHNLB]) + --help | --version | --last-written | --format | --delay-start | --interval | \ + --width | --height | --name | --rate-limit | --buffer-size | -!(-*)[hVAFDiwHNLB]) return ;; - --remote|-!(-*)R) + --remote | -!(-*)R) _pids return ;; - --pidfile|--watchfd|-!(-*)[Pd]) + --pidfile | --watchfd | -!(-*)[Pd]) _filedir pid return ;; esac if [[ $cur == -* ]]; then - COMPREPLY=( $(compgen -W '$(_parse_help "$1")' -- "$cur") ) + COMPREPLY=($(compgen -W '$(_parse_help "$1")' -- "$cur")) else _filedir fi } && -complete -F _pv pv + complete -F _pv pv # ex: filetype=sh |