diff options
author | Gabriel F. T. Gomes <gabriel@inconstante.eti.br> | 2017-09-25 23:46:54 -0300 |
---|---|---|
committer | Gabriel F. T. Gomes <gabriel@inconstante.eti.br> | 2017-09-25 23:46:54 -0300 |
commit | 6d88f1055806932d9291f96847d2b691cccda2cd (patch) | |
tree | 0ff79eedaa8a239331256048981deedbd0721965 /completions/lpq | |
parent | 059a87a5936cfebfd2d71ab8057002cafb2ea051 (diff) | |
download | bash-completion-6d88f1055806932d9291f96847d2b691cccda2cd.tar.gz |
New upstream version 2.7upstream/2.7
Diffstat (limited to 'completions/lpq')
-rw-r--r-- | completions/lpq | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/completions/lpq b/completions/lpq index d667713e..b02705af 100644 --- a/completions/lpq +++ b/completions/lpq @@ -8,21 +8,21 @@ _lpq() case $prev in -P) COMPREPLY=( $( compgen -W "$( lpstat -a 2>/dev/null | cut -d' ' -f1 )" -- "$cur" ) ) - return 0 + return ;; -U) COMPREPLY=( $( compgen -u -- "$cur" ) ) - return 0 + return ;; esac if [[ "$cur" == - ]]; then COMPREPLY=( $( compgen -W '-E -P -U -a -h -l' -- "$cur" ) ) - return 0 + return fi _filedir } && complete -F _lpq lpq -# ex: ts=4 sw=4 et filetype=sh +# ex: filetype=sh |