summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
Diffstat (limited to 'Completion')
-rw-r--r--Completion/Debian/Command/_bts11
1 files changed, 10 insertions, 1 deletions
diff --git a/Completion/Debian/Command/_bts b/Completion/Debian/Command/_bts
index fb5cc52e3..8ef1530c7 100644
--- a/Completion/Debian/Command/_bts
+++ b/Completion/Debian/Command/_bts
@@ -26,7 +26,7 @@ if [[ CURRENT -eq 1 ]]; then
       reassign merge unmerge tag tags severity forwarded notforwarded help \
       clone submitter found notfound block unblock user usertag usertags \
       package owner noowner reportspam cache cleancache claim unclaim \
-      subscribe unsubscribe fixed notfixed
+      subscribe unsubscribe fixed notfixed affects
   return
 fi
 
@@ -216,6 +216,15 @@ case "$words[1]" in
       _wanted sep expl 'separator' compadd -S ' ' , .
     fi
   ;;
+  (affects)
+    if [[ CURRENT -eq 2 ]]; then
+      _message -e bugnum 'bug number'
+    elif [[ CURRENT -eq 3 ]]; then
+      _wanted operator expl 'operator' compadd - '+' '-' '='
+    else
+      _wanted package expl 'package' _deb_packages avail
+    fi
+  ;;
   help)
   ;&
   *) _wanted sep expl 'separator' compadd -S ' ' , .