Mercurial > hg
changeset 22114:3ba1d7ca3dfd
help: normalize topic and extension verbose hints
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Tue, 12 Aug 2014 03:25:51 -0500 |
parents | 2d2cb5e50095 |
children | 8465625f7364 |
files | mercurial/help.py tests/test-help.t |
diffstat | 2 files changed, 6 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- 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. """"""""""""""""""""""""""""""""""""""""""