[issue4278] optparse quirks

Amaury Forgeot d'Arc report at bugs.python.org
Wed Jul 1 18:53:01 CEST 2009


Amaury Forgeot d'Arc <amauryfa at gmail.com> added the comment:

- For the -h option, you may add "add_help_option=False" when creating
the Optparse object

- concerning the error message: every parser that tries to give
meaningful error messages has to guess what the user really meant. The
exact text is really an implementation detail.

----------
nosy: +amaury.forgeotdarc
resolution:  -> works for me
status: open -> closed

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


More information about the Python-bugs-list mailing list