changeset 3496:72b9a3b8bb1d

zsh: add view opts
author Brendan Cully <brendan@kublai.com>
date Tue, 24 Oct 2006 11:10:04 -0700
parents 0e80552e1275
children 459e7cd943d4
files contrib/zsh_completion
diffstat 1 files changed, 9 insertions(+), 1 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
@@ -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 \