[issue9077] argparse does not handle arguments correctly after --

Georg Brandl report at bugs.python.org
Fri Jun 25 14:25:18 CEST 2010


Georg Brandl <georg at python.org> added the comment:

Not a bug -- you have to tell argparse that you expect a positional argument.  Try without the '--' and an argument that doesn't start with '-', and it will still give you that error.

----------
nosy: +georg.brandl
resolution:  -> invalid
status: open -> closed

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


More information about the Python-bugs-list mailing list