[Bug 4240] New: "hg showconfig --help" should show command help
mercurial-bugs at selenic.com
mercurial-bugs at selenic.com
Tue May 6 18:42:49 CDT 2014
http://bz.selenic.com/show_bug.cgi?id=4240
Priority: normal
Bug ID: 4240
CC: mercurial-devel at selenic.com
Assignee: bugzilla at selenic.com
Summary: "hg showconfig --help" should show command help
Severity: bug
Classification: Unclassified
OS: Windows
Reporter: d155601 at drdrb.com
Hardware: PC
Status: UNCONFIRMED
Version: 2.9.2
Component: Mercurial
Product: Mercurial
In 2.9.2, "hg showconfig -h" produces this output:
hg showconfig [-u] [NAME]...
aliases: debugconfig
show combined config settings from all hgrc files
With no arguments, print names and values of all config items.
With one argument of the form section.name, print just the value of
that
config item.
With multiple arguments, print names and values of all config items
with
matching section names.
With --debug, the source (filename and line number) is printed for each
config item.
Returns 0 on success.
options:
-u --untrusted show untrusted configuration options
use "hg -v help showconfig" to show the global options
This is (as far as I know) consistent with every Mercurial command.
In 3.0, however, "hg showconfig -h" outputs the "Configuration Files" manpage!
To see the command help, I have to use "hg help -c showconfig":
hg config [-u] [NAME]...
aliases: showconfig, debugconfig
show combined config settings from all hgrc files
With no arguments, print names and values of all config items.
With one argument of the form section.name, print just the value of
that
config item.
With multiple arguments, print names and values of all config items
with
matching section names.
With --edit, start an editor on the user-level config file. With
--global,
edit the system-wide config file. With --local, edit the
repository-level
config file.
With --debug, the source (filename and line number) is printed for each
config item.
See "hg help config" for more information about config files.
Returns 0 on success.
options:
-u --untrusted show untrusted configuration options
-e --edit edit user config
-l --local edit repository config
-g --global edit global config
It seems that "hg showconfig --help" should produce the above output, not the
manpage.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Mercurial-devel
mailing list