]> granicus.if.org Git - python/commitdiff
don't wrap lines too late by default
authorFred Drake <fdrake@acm.org>
Mon, 26 Jan 2004 16:42:30 +0000 (16:42 +0000)
committerFred Drake <fdrake@acm.org>
Mon, 26 Jan 2004 16:42:30 +0000 (16:42 +0000)
closes SF bug #842213

Lib/optparse.py

index f8e3394c9834c3f368771894bfe1ed5fb88b1032..b89a6ce7dfb806a90df53c0854932998d00fdb3b 100644 (file)
@@ -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)