##// 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 rst += [" %s\n" % l for l in doc().splitlines()]
405 rst += [" %s\n" % l for l in doc().splitlines()]
406
406
407 if not ui.verbose:
407 if not ui.verbose:
408 omitted = (_('use "hg help -v %s" to show more complete help') %
408 omitted = _('(some details hidden, use --verbose'
409 name)
409 ' to show complete help)')
410 indicateomitted(rst, omitted)
410 indicateomitted(rst, omitted)
411
411
412 try:
412 try:
@@ -437,8 +437,8 b' def help_(ui, name, unknowncmd=False, fu'
437 rst.append('\n')
437 rst.append('\n')
438
438
439 if not ui.verbose:
439 if not ui.verbose:
440 omitted = (_('use "hg help -v %s" to show more complete help') %
440 omitted = _('(some details hidden, use --verbose'
441 name)
441 ' to show complete help)')
442 indicateomitted(rst, omitted)
442 indicateomitted(rst, omitted)
443
443
444 if mod:
444 if mod:
@@ -1030,7 +1030,7 b' Test omit indicating for help'
1030
1030
1031 This paragraph is never omitted, too (for extension)
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 no commands defined
1035 no commands defined
1036 $ hg help -v addverboseitems
1036 $ hg help -v addverboseitems
@@ -1051,7 +1051,7 b' Test omit indicating for help'
1051
1051
1052 This paragraph is never omitted, too (for topic)
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 $ hg help -v topic-containing-verbose
1055 $ hg help -v topic-containing-verbose
1056 This is the topic to test omit indicating.
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