diff options
Diffstat (limited to 'completions/pv')
-rw-r--r-- | completions/pv | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/completions/pv b/completions/pv index 28514e7c..007bb36b 100644 --- a/completions/pv +++ b/completions/pv @@ -6,25 +6,26 @@ _pv() _init_completion || return case $prev in - -h|--help|-V|--version|-A|--last-written|-F|--format|-D|--delay-start|\ - -i|--interval|-w|--width|-H|--height|-N|--name|-L|--rate-limit|\ - -B|--buffer-size) + --help|--version|--last-written|--format|--delay-start|--interval|\ + --width|--height|--name|--rate-limit|--buffer-size|-!(-*)[hVAFDiwHNLB]) return ;; - -R|--remote) + --remote|-!(-*)R) _pids return ;; - -P|--pidfile|-d|--watchfd) + --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 + +# ex: filetype=sh |