Matthew Hughes <matthewhughes...@gmail.com> added the comment:
I've attached a patch containing tests showing the current behavior, namely that exit_on_error does not change the behavior of argparse.ArgumentParser.parse_args in either case: * An unrecognized option is given * A required option is not given Should the docs be updated to note this? ---------- keywords: +patch Added file: https://bugs.python.org/file49310/exit_on_error_tests.patch _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue41255> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com