# HG changeset patch # User Brendan Cully # Date 1161713404 25200 # Node ID 72b9a3b8bb1d48817d821ab83517ddb0b618abbe # Parent 0e80552e12751f2e564e9fd0183490e502e7cc91 zsh: add view opts diff --git a/contrib/zsh_completion b/contrib/zsh_completion --- a/contrib/zsh_completion +++ b/contrib/zsh_completion @@ -445,10 +445,18 @@ case $service in '::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 \