summaryrefslogtreecommitdiff
path: root/completions/reportbug
diff options
context:
space:
mode:
Diffstat (limited to 'completions/reportbug')
-rw-r--r--completions/reportbug60
1 files changed, 28 insertions, 32 deletions
diff --git a/completions/reportbug b/completions/reportbug
index aa5ac3e5..83be47f5 100644
--- a/completions/reportbug
+++ b/completions/reportbug
@@ -12,11 +12,11 @@ _reportbug()
;;
-B|--bts)
COMPREPLY=( $( compgen -W "debian guug kde mandrake help" -- \
- "$cur" ))
+ "$cur" ) )
return 0
;;
-e|--editor|--mua)
- words=(words[0] "$cur")
+ words=( words[0] "$cur" )
cword=1
_command
return 0
@@ -26,8 +26,8 @@ _reportbug()
return 0
;;
-S|--severity)
- COMPREPLY=( $( compgen -W "grave serious important normal \
- minor wishlist" -- "$cur" ) )
+ COMPREPLY=( $( compgen -W "grave serious important normal minor
+ wishlist" -- "$cur" ) )
return 0
;;
-u|--ui|--interface)
@@ -39,12 +39,11 @@ _reportbug()
return 0
;;
-T|--tag)
- COMPREPLY=( $( compgen -W "none \
- woody potato sarge sarge-ignore etch etch-ignore \
- lenny lenny-ignore sid experimental confirmed \
- d-i fixed fixed-in-experimental fixed-upstream \
- help l10n moreinfo patch pending security \
- unreproducible upstream wontfix ipv6 lfs" -- "$cur" ))
+ COMPREPLY=( $( compgen -W "none woody potato sarge sarge-ignore
+ etch etch-ignore lenny lenny-ignore sid experimental confirmed
+ d-i fixed fixed-in-experimental fixed-upstream help l10n
+ moreinfo patch pending security unreproducible upstream wontfix
+ ipv6 lfs" -- "$cur" ) )
return 0
;;
--from-buildd)
@@ -56,28 +55,25 @@ _reportbug()
;;
esac
- COMPREPLY=($( compgen -W '--help --version --attach \
- --no-query-bts --query-bts --bts --body --body-file --bodyfile \
- --no-config-files --class --configure --check-available --debug \
- --no-check-available --debconf --test --draftpath --editor --email \
- --exit-prompt --filename --from-buildd --gnupg --gpg --path --gnus \
- --header --include --no-check-installed --check-installed \
- --justification --kudos --keyid --license --list-cc \
- --maintonly --mirror --mode --mua --mta --mutt --mh --nmh \
- --bugnumber --no-bug-script --no-cc-menu --output --offline \
- --print --paranoid --no-paranoid --pgp --proxy --http_proxy \
- --pseudo-header --quiet --query-only --query-source --no-query-source \
- --realname --report-quiet --reply-to --replyto --subject --severity \
- --smtphost --timeout --tls --smtpuser --smtppasswd --src --source --type \
- --tag --template --verify --no-verify --no-cc --package-version \
- --no-compress --ui --interface \
- wnpp boot-floppies kernel bugs.debian.org \
- cdimage.debian.org general installation-reports \
- listarchives lists.debian.org mirrors nm.debian.org \
- press project qa.debian.org release-notes \
- security.debian.org tech-ctte upgrade-reports \
- www.debian.org' -- "$cur" ) \
- $( apt-cache pkgnames -- "$cur" 2> /dev/null) )
+ COMPREPLY=($( compgen -W '--help --version --attach --no-query-bts
+ --query-bts --bts --body --body-file --bodyfile --no-config-files
+ --class --configure --check-available --debug --no-check-available
+ --debconf --test --draftpath --editor --email --exit-prompt --filename
+ --from-buildd --gnupg --gpg --path --gnus --header --include
+ --no-check-installed --check-installed --justification --kudos --keyid
+ --license --list-cc --maintonly --mirror --mode --mua --mta --mutt --mh
+ --nmh --bugnumber --no-bug-script --no-cc-menu --output --offline
+ --print --paranoid --no-paranoid --pgp --proxy --http_proxy
+ --pseudo-header --quiet --query-only --query-source --no-query-source
+ --realname --report-quiet --reply-to --replyto --subject --severity
+ --smtphost --timeout --tls --smtpuser --smtppasswd --src --source
+ --type --tag --template --verify --no-verify --no-cc --package-version
+ --no-compress --ui --interface
+ wnpp boot-floppies kernel bugs.debian.org cdimage.debian.org general
+ installation-reports listarchives lists.debian.org mirrors
+ nm.debian.org press project qa.debian.org release-notes
+ security.debian.org tech-ctte upgrade-reports www.debian.org' \
+ -- "$cur" ) $( apt-cache pkgnames -- "$cur" 2> /dev/null ) )
_filedir
return 0
} &&