mercurial/crew

changeset 8933:6176ca261f86

help: rewrap extension description line length at 78 instead of 70
author Dirkjan Ochtman <dirkjan@ochtman.nl>
date Wed Jun 24 13:10:05 2009 +0200 (7 months ago)
parents f87884329419
children 9dda4c73fc3b
files mercurial/help.py
line diff
     1.1 --- a/mercurial/help.py
     1.2 +++ b/mercurial/help.py
     1.3 @@ -47,7 +47,7 @@
     1.4      result = '\n%s\n\n' % header
     1.5      for name, desc in sorted(exts.iteritems()):
     1.6          # wrap desc at 70 characters, just like the main help texts
     1.7 -        desc = textwrap.wrap(desc, width=70 - maxlength - 4)
     1.8 +        desc = textwrap.wrap(desc, width=78 - maxlength - 4)
     1.9          pad = '\n' + ' ' * (maxlength + 4)
    1.10          result += ' %s   %s\n' % (name.ljust(maxlength),
    1.11                                    pad.join(desc))

Contact: Thomas Arendsen Hein <hg@intevation.org> - Intevation GmbH