# HG changeset patch # User Dirkjan Ochtman # Date 2009-06-24 11:10:05 # Node ID 6176ca261f86593e402cf1f18c790521583783b5 # Parent f87884329419dd5c78055175a79d3a11ea2fa999 help: rewrap extension description line length at 78 instead of 70 diff --git a/mercurial/help.py b/mercurial/help.py --- a/mercurial/help.py +++ b/mercurial/help.py @@ -47,7 +47,7 @@ def listexts(header, exts, maxlength): 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))