zsh: add -r to parents
authorBrendan Cully <brendan@kublai.com>
Tue, 24 Oct 2006 11:10:04 -0700
changeset 3494 40fabb2a64b8
parent 3493 1b9494d2b070
child 3495 0e80552e1275
zsh: add -r to parents
contrib/zsh_completion
--- a/contrib/zsh_completion	Tue Oct 24 11:10:04 2006 -0700
+++ b/contrib/zsh_completion	Tue Oct 24 11:10:04 2006 -0700
@@ -434,8 +434,11 @@
         _arguments '*:revision:->tags'
     ;;
 
-    (parents)
-        _arguments '*:revision:->tags'
+    (par*)
+        _arguments \
+        '(--rev 1)-r[show parents of the specified rev]:revision:->tags' \
+        '(-r 1)--rev[show parents of the specified rev]:revision:->tags' \
+	'::revision:->tags'
     ;;
 
     (identify|recover|root|undo|view|verify|version|ct|tags)