Jeff Knupp <jkn...@gmail.com> added the comment: Added patch so that only the first '--' is removed by an argparse.PARSE or argparse.REMAINDER argument. Note that, as Steven said, argparse.REMAINDER should be used in the OP's issue (and the added test makes sure all remaining arguments are preserved even if they appear in the parent parser).
---------- keywords: +patch Added file: http://bugs.python.org/file24936/argparse.patch _______________________________________ 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