Steven Bethard <steven.beth...@gmail.com> added the comment:

See nargs=argparse.REMAINDER for an approach that doesn't require that first 
'--':

http://docs.python.org/library/argparse.html#nargs

But yeah, removing more than one '--' is probably a bug. Fixing it would be a 
little backwards incompatible though. Is it possible that anyone actually 
depends on the behavior of consuming multiple '--' arguments?

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue13922>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to