[issue9694] argparse: Default Help Message Lists Required Args As Optional

Steven Bethard report at bugs.python.org
Sat Aug 28 09:03:44 CEST 2010


Steven Bethard <steven.bethard at gmail.com> added the comment:

I think this is still really a feature request. We can't just change the text from "optional" - that would silently change a large number of help messages without any warning. So to fix this "bug", we're going to have to add an API to explicitly set the group names - which can only be done as a new feature. People using 2.7 will have to use the workaround using parser._optionals I posted here.

----------
type: behavior -> feature request
versions:  -Python 2.7

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9694>
_______________________________________


More information about the Python-bugs-list mailing list