--- a/mercurial/help.py Tue Aug 12 03:18:50 2014 -0500
+++ b/mercurial/help.py Tue Aug 12 03:25:51 2014 -0500
@@ -405,8 +405,8 @@
rst += [" %s\n" % l for l in doc().splitlines()]
if not ui.verbose:
- omitted = (_('use "hg help -v %s" to show more complete help') %
- name)
+ omitted = _('(some details hidden, use --verbose'
+ ' to show complete help)')
indicateomitted(rst, omitted)
try:
@@ -437,8 +437,8 @@
rst.append('\n')
if not ui.verbose:
- omitted = (_('use "hg help -v %s" to show more complete help') %
- name)
+ omitted = _('(some details hidden, use --verbose'
+ ' to show complete help)')
indicateomitted(rst, omitted)
if mod:
--- a/tests/test-help.t Tue Aug 12 03:18:50 2014 -0500
+++ b/tests/test-help.t Tue Aug 12 03:25:51 2014 -0500
@@ -1030,7 +1030,7 @@
This paragraph is never omitted, too (for extension)
- use "hg help -v addverboseitems" to show more complete help
+ (some details hidden, use --verbose to show complete help)
no commands defined
$ hg help -v addverboseitems
@@ -1051,7 +1051,7 @@
This paragraph is never omitted, too (for topic)
- use "hg help -v topic-containing-verbose" to show more complete help
+ (some details hidden, use --verbose to show complete help)
$ hg help -v topic-containing-verbose
This is the topic to test omit indicating.
""""""""""""""""""""""""""""""""""""""""""