about summary refs log tree commit diff
path: root/Completion/Debian/_bug
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Debian/_bug')
-rw-r--r--Completion/Debian/_bug2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Debian/_bug b/Completion/Debian/_bug
index 1c67103e0..30993203f 100644
--- a/Completion/Debian/_bug
+++ b/Completion/Debian/_bug
@@ -18,7 +18,7 @@ _rb_commonargs=('(--bts)-B[use alternate BTS]:system:(debian gnome kde tdyc kde-
 	   '(--http_proxy)--proxy=:proxyhost:_hosts' \
 	   '(--proxy)--http_proxy=:proxyhost:_hosts')
 
-case "${words[1]:t}" in
+case "$service" in
 bug)
 _arguments '-c[exclude configs from report]' \
            '-f[argument is a file, not a package]' \