zsh-workers
 help / color / mirror / code / Atom feed
* PATCH: _bts claim/unclaim
@ 2008-10-04 18:11 Clint Adams
  0 siblings, 0 replies; only message in thread
From: Clint Adams @ 2008-10-04 18:11 UTC (permalink / raw)
  To: zsh-workers; +Cc: micah

Index: Completion/Debian/Command/_bts
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Debian/Command/_bts,v
retrieving revision 1.9
diff -u -r1.9 _bts
--- Completion/Debian/Command/_bts	6 Jul 2007 15:37:06 -0000	1.9
+++ Completion/Debian/Command/_bts	4 Oct 2008 18:10:39 -0000
@@ -25,7 +25,7 @@
   _wanted cmd expl 'bts command' compadd show bugs close reopen retitle \
       reassign merge unmerge tag tags severity forwarded notforwarded help \
       clone submitter found notfound block unblock user usertag usertags \
-      package owner noowner reportspam cache cleancache
+      package owner noowner reportspam cache cleancache claim unclaim
   return
 fi
 
@@ -193,6 +193,17 @@
        'email:email address:_email_addresses -c' \
        'all:all:compadd ALL'
   ;;
+  (claim|unclaim)
+    if [[ CURRENT -eq 2 ]]; then
+      _message -e bugnum 'bug number'
+    elif [[ CURRENT -eq 3 ]]; then
+      _alternative \
+        'email:email address:_email_addresses -c' \
+	'separator:separator:compadd -S " " , .'
+    else
+      _wanted sep expl 'separator' compadd -S ' ' , .
+    fi
+  ;;
   help)
   ;&
   *) _wanted sep expl 'separator' compadd -S ' ' , .


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-10-04 18:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-04 18:11 PATCH: _bts claim/unclaim Clint Adams

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).