[PATCH 2 of 9] help: let 'hg help debug' show the list of secret debug commands
Mads Kiilerich
mads at kiilerich.com
Thu Mar 20 21:32:10 CDT 2014
On 03/19/2014 10:13 PM, Matt Mackall wrote:
> On Tue, 2014-03-18 at 19:58 -0700, Siddharth Agarwal wrote:
>> On 03/18/2014 04:33 PM, Mads Kiilerich wrote:
>>> # HG changeset patch
>>> # User Mads Kiilerich <madski at unity3d.com>
>>> # Date 1394896444 -3600
>>> # Sat Mar 15 16:14:04 2014 +0100
>>> # Node ID ab2a99f9f3396fb705bd621fd5b2de04783ac101
>>> # Parent ffaeeb8d43872aca4c329937b793c6b4919ce192
>>> help: let 'hg help debug' show the list of secret debug commands
>>>
>>> The names of the debug commands are not easy to remember and they are not easy
>>> to find.
>> hg help --debug?
> We should probably arrange that 'hg help -k' finds them.
Yes. But would you do that instead of this change?
That and this patch would both fix cases where debug commands are
special and hidden where the user wouldn't expect it. But if a user
tries one of them and are surprised that it didn't work, then it will
not help him that the other would have worked.
It is independent changes and I don't see any reason to not take this
simple patch.
/Mads
> And perhaps add a note about 'help -k' to the short help so people stop
> being surprised that it exists.
More information about the Mercurial-devel
mailing list