Mercurial > hg
changeset 8933:6176ca261f86
help: rewrap extension description line length at 78 instead of 70
author | Dirkjan Ochtman <dirkjan@ochtman.nl> |
---|---|
date | Wed, 24 Jun 2009 13:10:05 +0200 |
parents | f87884329419 |
children | 9dda4c73fc3b |
files | mercurial/help.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/help.py Wed Jun 24 12:25:56 2009 +0200 +++ b/mercurial/help.py Wed Jun 24 13:10:05 2009 +0200 @@ -47,7 +47,7 @@ result = '\n%s\n\n' % header for name, desc in sorted(exts.iteritems()): # wrap desc at 70 characters, just like the main help texts - desc = textwrap.wrap(desc, width=70 - maxlength - 4) + desc = textwrap.wrap(desc, width=78 - maxlength - 4) pad = '\n' + ' ' * (maxlength + 4) result += ' %s %s\n' % (name.ljust(maxlength), pad.join(desc))