# HG changeset patch # User Martin Geisler # Date 1266189130 -3600 # Node ID 3113736dbac569becf3ce1ac24998a655e9e40f8 # Parent 601a9d67825a60bad16c99436812d36bcddd661f mq: more instructive use of "--" in qguard help (issue2040) diff -r 601a9d67825a -r 3113736dbac5 hgext/mq.py --- a/hgext/mq.py Sun Feb 14 23:17:28 2010 +0100 +++ b/hgext/mq.py Mon Feb 15 00:12:10 2010 +0100 @@ -2152,7 +2152,7 @@ To set guards on another patch:: - hg qguard -- other.patch +2.6.17 -stable + hg qguard other.patch -- +2.6.17 -stable ''' def status(idx): guards = q.series_guards[idx] or ['unguarded'] @@ -2721,7 +2721,7 @@ (guard, [('l', 'list', None, _('list all patches and guards')), ('n', 'none', None, _('drop all guards'))], - _('hg qguard [-l] [-n] -- [PATCH] [+GUARD]... [-GUARD]...')), + _('hg qguard [-l] [-n] [PATCH] [-- [+GUARD]... [-GUARD]...]')), 'qheader': (header, [], _('hg qheader [PATCH]')), "^qimport": (qimport,