mercurial/help.py
changeset 37134 6890b7e991a4
parent 37092 ef6215df2402
child 37975 6e526b0961a8
--- a/mercurial/help.py	Tue Mar 27 20:21:30 2018 +0530
+++ b/mercurial/help.py	Sun Mar 04 17:11:33 2018 -0500
@@ -370,8 +370,8 @@
         if util.safehasattr(entry[0], 'definition'):  # aliased command
             source = entry[0].source
             if entry[0].definition.startswith('!'):  # shell alias
-                doc = (_('shell alias for::\n\n    %s\n\ndefined by: %s\n') %
-                       (entry[0].definition[1:], source))
+                doc = (_('shell alias for: %s\n\n%s\n\ndefined by: %s\n') %
+                       (entry[0].definition[1:], doc, source))
             else:
                 doc = (_('alias for: hg %s\n\n%s\n\ndefined by: %s\n') %
                        (entry[0].definition, doc, source))