changeset 3494:40fabb2a64b8

zsh: add -r to parents
author Brendan Cully <brendan@kublai.com>
date Tue, 24 Oct 2006 11:10:04 -0700
parents 1b9494d2b070
children 0e80552e1275
files contrib/zsh_completion
diffstat 1 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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)