Mercurial > public > mercurial-scm > hg-stable
diff mercurial/commands.py @ 9540:cad36e496640
help: un-indent help topics
The help topics are reused in the HTML documentation, and there it
looks odd that whole sections are indented. We now only indent it for
output on the terminal.
author | Martin Geisler <mg@lazybytes.net> |
---|---|
date | Sun, 04 Oct 2009 12:18:43 +0200 |
parents | 460e410c39be |
children | ceb0f59e1327 |
line wrap: on
line diff
--- a/mercurial/commands.py Sun Oct 04 09:59:13 2009 +0200 +++ b/mercurial/commands.py Sun Oct 04 12:18:43 2009 +0200 @@ -1548,7 +1548,7 @@ doc = doc() ui.write("%s\n\n" % header) - ui.write("%s\n" % minirst.format(doc, textwidth)) + ui.write("%s\n" % minirst.format(doc, textwidth, indent=4)) def helpext(name): try: