From: Barry Warsaw Date: Mon, 26 Jan 2004 18:40:49 +0000 (+0000) Subject: Backporting revision 1.6: X-Git-Tag: v2.3.4c1~148 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a86e93756f82ac14e123439a90cb48464e4ac265;p=thirdparty%2FPython%2Fcpython.git Backporting revision 1.6: don't wrap lines too late by default closes SF bug #842213 But I think Fred meant "too long" :) --- diff --git a/Lib/optparse.py b/Lib/optparse.py index f8e3394c9834..b89a6ce7dfb8 100644 --- a/Lib/optparse.py +++ b/Lib/optparse.py @@ -247,7 +247,7 @@ class IndentedHelpFormatter (HelpFormatter): def __init__ (self, indent_increment=2, max_help_position=24, - width=80, + width=79, short_first=1): HelpFormatter.__init__( self, indent_increment, max_help_position, width, short_first) @@ -266,7 +266,7 @@ class TitledHelpFormatter (HelpFormatter): def __init__ (self, indent_increment=0, max_help_position=24, - width=80, + width=79, short_first=0): HelpFormatter.__init__ ( self, indent_increment, max_help_position, width, short_first)