summaryrefslogtreecommitdiff
path: root/Lib/optparse.py
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2004-01-26 16:42:30 +0000
committerFred Drake <fdrake@acm.org>2004-01-26 16:42:30 +0000
commit4e9e7a61404ea168ffa30f5ef5203d3e0cb3d172 (patch)
treea8e099d8b485e46146a1a96325acfb2a8b56f669 /Lib/optparse.py
parent6d98f198f736eb94c21d6f493e7ba4177b195668 (diff)
downloadcpython-git-4e9e7a61404ea168ffa30f5ef5203d3e0cb3d172.tar.gz
don't wrap lines too late by default
closes SF bug #842213
Diffstat (limited to 'Lib/optparse.py')
-rw-r--r--Lib/optparse.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/optparse.py b/Lib/optparse.py
index f8e3394c98..b89a6ce7df 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)