diff --git a/mercurial/help.py b/mercurial/help.py --- a/mercurial/help.py +++ b/mercurial/help.py @@ -293,7 +293,7 @@ def help_(ui, name, unknowncmd=False, fu if not ui.verbose: if not full: - rst.append(_('\nuse "hg help %s" to show the full help text\n') + rst.append(_('\n(use "hg %s -h" to show more help)\n') % name) elif not ui.quiet: rst.append(_('\n(some details hidden, use --verbose ' diff --git a/tests/test-alias.t b/tests/test-alias.t --- a/tests/test-alias.t +++ b/tests/test-alias.t @@ -370,7 +370,7 @@ invalid arguments alias for: hg root - use "hg help rt" to show the full help text + (use "hg rt -h" to show more help) [255] invalid global arguments for normal commands, aliases, and shell aliases diff --git a/tests/test-dispatch.t b/tests/test-dispatch.t --- a/tests/test-dispatch.t +++ b/tests/test-dispatch.t @@ -29,7 +29,7 @@ Missing arg: [+] marked option can be specified multiple times - use "hg help cat" to show the full help text + (use "hg cat -h" to show more help) [255] [defaults] diff --git a/tests/test-extension.t b/tests/test-extension.t --- a/tests/test-extension.t +++ b/tests/test-extension.t @@ -543,7 +543,7 @@ Test help topic with same name as extens multirevs command - use "hg help multirevs" to show the full help text + (use "hg multirevs -h" to show more help) [255] diff --git a/tests/test-help.t b/tests/test-help.t --- a/tests/test-help.t +++ b/tests/test-help.t @@ -440,7 +440,7 @@ Test help option with version option [+] marked option can be specified multiple times - use "hg help add" to show the full help text + (use "hg add -h" to show more help) [255] Test ambiguous command help diff --git a/tests/test-qrecord.t b/tests/test-qrecord.t --- a/tests/test-qrecord.t +++ b/tests/test-qrecord.t @@ -99,7 +99,7 @@ qrecord (mq not present) interactively record a new patch - use "hg help qrecord" to show the full help text + (use "hg qrecord -h" to show more help) [255] qrecord patch (mq not present) diff --git a/tests/test-strip.t b/tests/test-strip.t --- a/tests/test-strip.t +++ b/tests/test-strip.t @@ -547,5 +547,5 @@ Make sure no one adds back a -b option: [+] marked option can be specified multiple times - use "hg help strip" to show the full help text + (use "hg strip -h" to show more help) [255]