##// END OF EJS Templates
help: normalize topic and extension verbose hints
Matt Mackall -
r22114:3ba1d7ca default
parent child Browse files
Show More
@@ -405,8 +405,8 b' def help_(ui, name, unknowncmd=False, fu'
405 405 rst += [" %s\n" % l for l in doc().splitlines()]
406 406
407 407 if not ui.verbose:
408 omitted = (_('use "hg help -v %s" to show more complete help') %
409 name)
408 omitted = _('(some details hidden, use --verbose'
409 ' to show complete help)')
410 410 indicateomitted(rst, omitted)
411 411
412 412 try:
@@ -437,8 +437,8 b' def help_(ui, name, unknowncmd=False, fu'
437 437 rst.append('\n')
438 438
439 439 if not ui.verbose:
440 omitted = (_('use "hg help -v %s" to show more complete help') %
441 name)
440 omitted = _('(some details hidden, use --verbose'
441 ' to show complete help)')
442 442 indicateomitted(rst, omitted)
443 443
444 444 if mod:
@@ -1030,7 +1030,7 b' Test omit indicating for help'
1030 1030
1031 1031 This paragraph is never omitted, too (for extension)
1032 1032
1033 use "hg help -v addverboseitems" to show more complete help
1033 (some details hidden, use --verbose to show complete help)
1034 1034
1035 1035 no commands defined
1036 1036 $ hg help -v addverboseitems
@@ -1051,7 +1051,7 b' Test omit indicating for help'
1051 1051
1052 1052 This paragraph is never omitted, too (for topic)
1053 1053
1054 use "hg help -v topic-containing-verbose" to show more complete help
1054 (some details hidden, use --verbose to show complete help)
1055 1055 $ hg help -v topic-containing-verbose
1056 1056 This is the topic to test omit indicating.
1057 1057 """"""""""""""""""""""""""""""""""""""""""
General Comments 0
You need to be logged in to leave comments. Login now