diff options
author | Fred Drake <fdrake@acm.org> | 2004-01-26 16:42:30 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2004-01-26 16:42:30 (GMT) |
commit | 4e9e7a61404ea168ffa30f5ef5203d3e0cb3d172 (patch) | |
tree | a8e099d8b485e46146a1a96325acfb2a8b56f669 | |
parent | 6d98f198f736eb94c21d6f493e7ba4177b195668 (diff) | |
download | cpython-4e9e7a61404ea168ffa30f5ef5203d3e0cb3d172.zip cpython-4e9e7a61404ea168ffa30f5ef5203d3e0cb3d172.tar.gz cpython-4e9e7a61404ea168ffa30f5ef5203d3e0cb3d172.tar.bz2 |
don't wrap lines too late by default
closes SF bug #842213
-rw-r--r-- | Lib/optparse.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/optparse.py b/Lib/optparse.py index f8e3394..b89a6ce 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) |