diff mercurial/help.py @ 22110:26f7c8033bed

help: tweak --verbose command help hint We used to have two slightly different message which people wouldn't read... and then complain that they couldn't find the global options or examples. So we unify them into one message that's upfront that STUFF IS INTENTIONALLY HIDDEN and that looks more like our normal hint style.
author Matt Mackall <mpm@selenic.com>
date Tue, 12 Aug 2014 03:01:37 -0500
parents 8225bb1f0ad3
children aa5e256839d5
line wrap: on
line diff
--- a/mercurial/help.py	Tue Aug 12 00:42:05 2014 -0500
+++ b/mercurial/help.py	Tue Aug 12 03:01:37 2014 -0500
@@ -296,11 +296,8 @@
                 rst.append(_('\nuse "hg help %s" to show the full help text\n')
                            % name)
             elif not ui.quiet:
-                omitted = _('use "hg -v help %s" to show more complete'
-                            ' help and the global options') % name
-                notomitted = _('use "hg -v help %s" to show'
-                               ' the global options') % name
-                indicateomitted(rst, omitted, notomitted)
+                rst.append(_('\n(some details hidden, use --verbose '
+                               'to show complete help)'))
 
         return rst