diff mercurial/help.py @ 18748:6e676fb6ea44

help: use a full header for topic titles ...for prettier HTML!
author Dan Villiom Podlaski Christiansen <danchr@gmail.com>
date Sun, 10 Feb 2013 12:58:57 +0100
parents c0087d48ec3a
children 83d79a00cc24
line wrap: on
line diff
--- a/mercurial/help.py	Sat Feb 09 21:51:21 2013 +0000
+++ b/mercurial/help.py	Sun Feb 10 12:58:57 2013 +0100
@@ -394,7 +394,8 @@
         else:
             raise error.UnknownCommand(name)
 
-        rst = ["%s\n\n" % header]
+        rst = [minirst.section(header)]
+
         # description
         if not doc:
             rst.append("    %s\n" % _("(no help text available)"))