[issue9334] argparse does not accept options taking arguments beginning with dash (regression from optparse)
Eric Smith
report at bugs.python.org
Sun Feb 6 20:33:17 CET 2011
Eric Smith <eric at trueblade.com> added the comment:
Good point, I hadn't thought of that. Maybe ArgumentParser needs a "don't try to be so helpful, parse like optparse" option. Which is what Steven suggested earlier, I believe.
I'd take a crack at this if there's general consensus on that solution.
We can change the documentation to point out the issue now, but the feature request can only go in 3.3.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9334>
_______________________________________
More information about the Python-bugs-list
mailing list