Mercurial > public > mercurial-scm > hg-stable
diff hgext/mq.py @ 10476:3113736dbac5 stable
mq: more instructive use of "--" in qguard help (issue2040)
author | Martin Geisler <mg@lazybytes.net> |
---|---|
date | Mon, 15 Feb 2010 00:12:10 +0100 |
parents | e433002acb05 |
children | 3076b39d7f3e |
line wrap: on
line diff
--- 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,