[issue9334] argparse does not accept options taking arguments beginning with dash (regression from optparse)

Steven Bethard report at bugs.python.org
Sat Mar 26 10:53:58 CET 2011


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

Thanks for the analysis Eric. Yeah, it does seem like it's not possible to implement this feature request while still supporting optionals with variable number arguments.

@andersk: Would the restriction to only having flags with a fixed number of arguments be acceptable for your use case?

----------
versions:  -Python 3.1

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


More information about the Python-bugs-list mailing list