diff mercurial/help.py @ 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
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: