[issue2040] mandatory "--" in qguard command help usage syntax

Ross bugs at mercurial.selenic.com
Sat Feb 13 23:06:14 UTC 2010


New submission from Ross <Ross.Johnson at homemail.com.au>:

This is a somewhat pedantic change request hence I've selected the "wish"
priority for it.

The usage syntax shown by "hg help qguard" specifies the "--" flag as
mandatory when it is conditional. Of course it won't break anything to
include it but it just isn't always needed.

It shows:
hg qguard [-l] [-n] -- [PATCH] [+GUARD]... [-GUARD]...

The following is a truer description and doesn't make it too complicated
(noting that patch names can't start with "+" or "-").

hg qguard [-l] [-n] [PATCH] [-- [+GUARD]... [-GUARD]...]

Obviously there are many variants and more complete ones also.

----------
messages: 11694
nosy: RossPJohnson
priority: wish
status: unread
title: mandatory "--" in qguard command help usage syntax

____________________________________________________
Mercurial issue tracker <bugs at mercurial.selenic.com>
<http://mercurial.selenic.com/bts/issue2040>
____________________________________________________


More information about the Mercurial-devel mailing list