[issue41255] Argparse.parse_args exits on unrecognized option with exit_on_error=False

2021-07-22 Thread Josh Meranda
Change by Josh Meranda : -- pull_requests: +25838 stage: -> patch review pull_request: https://github.com/python/cpython/pull/27295 ___ Python tracker <https://bugs.python.org/issu

[issue41255] Argparse.parse_args exits on unrecognized option with exit_on_error=False

2021-07-21 Thread Josh Meranda
Josh Meranda added the comment: I agree with Bigbird and paul.j3. > But I think this is a real bug in argparse, not a documentation problem. > Off hand I can't think of clean way of refining the description without > getting overly technical about the error handling. It s