doc/gendoc.py
changeset 9484 c96d73dd956d
parent 9317 8c1df18452aa
child 9485 7d6ac5d7917c
--- a/doc/gendoc.py	Sun Sep 27 09:39:57 2009 +0200
+++ b/doc/gendoc.py	Sun Sep 27 10:04:51 2009 +0200
@@ -1,4 +1,4 @@
-import os, sys, textwrap
+import os, sys
 # import from the live mercurial repo
 sys.path.insert(0, "..")
 # fall back to pure modules if required C extensions are not available
@@ -92,9 +92,7 @@
                     s = "%-*s  %s" % (opts_len, optstr, desc)
                 else:
                     s = optstr
-                s = textwrap.fill(s, initial_indent=4 * " ",
-                                  subsequent_indent=(6 + opts_len) * " ")
-                ui.write("%s\n" % s)
+                ui.write("    %s\n" % s)
             ui.write("\n")
         # aliases
         if d['aliases']: