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/pkgtool | |
parent | 059a87a5936cfebfd2d71ab8057002cafb2ea051 (diff) | |
download | bash-completion-6d88f1055806932d9291f96847d2b691cccda2cd.tar.gz |
New upstream version 2.7upstream/2.7
Diffstat (limited to 'completions/pkgtool')
-rw-r--r-- | completions/pkgtool | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/completions/pkgtool b/completions/pkgtool index 5adcbaf0..95d42aaa 100644 --- a/completions/pkgtool +++ b/completions/pkgtool @@ -8,19 +8,19 @@ _pkgtool() case "$prev" in --source_dir|--target_dir) _filedir -d - return 0 + return ;; --sets) # argument required but no completions available - return 0 + return ;; --source_device) COMPREPLY=( $( compgen -f -d -- "${cur:-/dev/}" ) ) - return 0 + return ;; --tagfile) _filedir - return 0 + return ;; esac @@ -28,9 +28,8 @@ _pkgtool() COMPREPLY=( $( compgen -W '--sets --ignore-tagfiles --tagfile --source-mounted --source_dir --target_dir --source_device' \ -- "$cur" ) ) - return 0 fi } && complete -F _pkgtool pkgtool -# ex: ts=4 sw=4 et filetype=sh +# ex: filetype=sh |