# HG changeset patch # User Martin Geisler # Date 1287785890 -7200 # Node ID 58bc5024805dc304c99dad74dc1d52204f71f9c9 # Parent 13fdef670c43ac60aee9e620b281b3f88e74b5e8 gendoc: do not strip 'hg ' from synopsis This was an old left-over from when the synopsis line was used as a header. We now have the command name by itself as the header and the synopsis as a literal block immediately after.. diff -r 13fdef670c43 -r 58bc5024805d doc/gendoc.py --- a/doc/gendoc.py Sat Oct 23 00:11:39 2010 +0200 +++ b/doc/gendoc.py Sat Oct 23 00:18:10 2010 +0200 @@ -135,7 +135,7 @@ for line in synopsislines: # some commands (such as rebase) have a multi-line # synopsis - ui.write(" %s\n" % line.replace("hg ","", 1)) + ui.write(" %s\n" % line) ui.write('\n') # description ui.write("%s\n\n" % d['desc'][1])