Georg Brandl <ge...@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue9077>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to