zsh: add view opts
authorBrendan Cully <brendan@kublai.com>
Tue, 24 Oct 2006 11:10:04 -0700
changeset 3496 72b9a3b8bb1d
parent 3495 0e80552e1275
child 3497 459e7cd943d4
zsh: add view opts
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
@@ -445,10 +445,18 @@
 	'::revision:->tags'
     ;;
 
-    (identify|recover|root|undo|view|verify|version|ct|tags)
+    (identify|recover|root|undo|verify|version|ct|tags)
         # no arguments for these commands
     ;;
 
+    # HGK
+    (vi*)
+        _arguments \
+        '(--limit)-l[limit number of changes displayed]:' \
+        '(-l)--limit[limit number of changes displayed]:' \
+        '::revision range:->tags'
+    ;;
+
     # MQ commands
     (qdel*|qrm|qrem*)
         _arguments \