help: normalize extension shadow hint
authorMatt Mackall <mpm@selenic.com>
Tue, 12 Aug 2014 03:12:24 -0500
changeset 22112 d968f4741a22
parent 22111 aa5e256839d5
child 22113 2d2cb5e50095
help: normalize extension shadow hint
mercurial/help.py
tests/test-extension.t
tests/test-strip.t
--- a/mercurial/help.py	Tue Aug 12 03:09:26 2014 -0500
+++ b/mercurial/help.py	Tue Aug 12 03:12:24 2014 -0500
@@ -276,8 +276,8 @@
             mod = extensions.find(name)
             doc = gettext(mod.__doc__) or ''
             if '\n' in doc.strip():
-                msg = _('use "hg help -e %s" to show help for '
-                        'the %s extension') % (name, name)
+                msg = _('(use "hg help -e %s" to show help for '
+                        'the %s extension)') % (name, name)
                 rst.append('\n%s\n' % msg)
         except KeyError:
             pass
--- a/tests/test-extension.t	Tue Aug 12 03:09:26 2014 -0500
+++ b/tests/test-extension.t	Tue Aug 12 03:12:24 2014 -0500
@@ -388,7 +388,7 @@
       compared to the working directory, and, when no revisions are specified,
       the working directory files are compared to its parent.
   
-  use "hg help -e extdiff" to show help for the extdiff extension
+  (use "hg help -e extdiff" to show help for the extdiff extension)
   
   options:
   
--- a/tests/test-strip.t	Tue Aug 12 03:09:26 2014 -0500
+++ b/tests/test-strip.t	Tue Aug 12 03:12:24 2014 -0500
@@ -532,7 +532,7 @@
   
   strip changesets and all their descendants from the repository
   
-  use "hg help -e strip" to show help for the strip extension
+  (use "hg help -e strip" to show help for the strip extension)
   
   options: