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/reportbug | |
parent | 059a87a5936cfebfd2d71ab8057002cafb2ea051 (diff) | |
download | bash-completion-6d88f1055806932d9291f96847d2b691cccda2cd.tar.gz |
New upstream version 2.7upstream/2.7
Diffstat (limited to 'completions/reportbug')
-rw-r--r-- | completions/reportbug | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/completions/reportbug b/completions/reportbug index 83be47f5..1049d194 100644 --- a/completions/reportbug +++ b/completions/reportbug @@ -8,35 +8,35 @@ _reportbug() case $prev in -f|--filename|-i|--include|--mta|-o|--output) _filedir - return 0 + return ;; -B|--bts) COMPREPLY=( $( compgen -W "debian guug kde mandrake help" -- \ "$cur" ) ) - return 0 + return ;; -e|--editor|--mua) words=( words[0] "$cur" ) cword=1 _command - return 0 + return ;; --mode) COMPREPLY=( $( compgen -W "novice standard expert" -- "$cur" ) ) - return 0 + return ;; -S|--severity) COMPREPLY=( $( compgen -W "grave serious important normal minor wishlist" -- "$cur" ) ) - return 0 + return ;; -u|--ui|--interface) COMPREPLY=( $( compgen -W "newt text gnome" -- "$cur" ) ) - return 0 + return ;; -t|--type) COMPREPLY=( $( compgen -W "gnats debbugs" -- "$cur" ) ) - return 0 + return ;; -T|--tag) COMPREPLY=( $( compgen -W "none woody potato sarge sarge-ignore @@ -44,12 +44,12 @@ _reportbug() d-i fixed fixed-in-experimental fixed-upstream help l10n moreinfo patch pending security unreproducible upstream wontfix ipv6 lfs" -- "$cur" ) ) - return 0 + return ;; --from-buildd) COMPREPLY=( $( compgen -S "_" -W '$( apt-cache dumpavail | \ command grep "^Source: $cur" | sort -u | cut -f2 -d" " )' )) - return 0 + return ;; *) ;; @@ -75,8 +75,7 @@ _reportbug() security.debian.org tech-ctte upgrade-reports www.debian.org' \ -- "$cur" ) $( apt-cache pkgnames -- "$cur" 2> /dev/null ) ) _filedir - return 0 } && complete -F _reportbug reportbug -# ex: ts=4 sw=4 et filetype=sh +# ex: filetype=sh |