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.
looks like a regression.
I have sent a patch to the mailing list.
Fixed by http://selenic.com/repo/hg/rev/af15de6775c7 Matt Mackall <mpm@selenic.com> help: always show command help with -h (issue4240) Old behavior: hg help x hg x -h hg help -e x hg help -c x config topic topic (!) - cmd showconfig cmd topic (!) - cmd rebase cmd cmd ext cmd New behavior: hg help x hg x -h hg help -e x hg help -c x config topic cmd - cmd showconfig cmd cmd - cmd rebase cmd cmd ext cmd (please test the fix)