[ python-Bugs-842213 ] optparser help formatting nit
SourceForge.net
noreply at sourceforge.net
Fri Nov 14 11:33:23 EST 2003
Bugs item #842213, was opened at 2003-11-14 11:33
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=842213&group_id=5470
Category: Python Library
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Barry A. Warsaw (bwarsaw)
Assigned to: Greg Ward (gward)
Summary: optparser help formatting nit
Initial Comment:
When printing help from an optparse.OptParser in a
XEmacs shell buffer, the option text is wrapped one
character too wide. I've taken to doing something like
this in my code:
parser.formatter.width -= 1
parser.formatter.help_width -= 1
which is ugly. I think the default is to wrap to 80
characters. It should wrap to 79 characters.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=842213&group_id=5470
More information about the Python-bugs-list
mailing list