def _parser_exit(parser: argparse.ArgumentParser, proc: "<STR_LIT>", _=<NUM_LIT:0>,<EOL>message: Optional[str]=None) -> None:
if message:<EOL><INDENT>parser._print_message(message, sys.stderr)<EOL><DEDENT>proc.successful_parse = False<EOL>
Override the default exit in the parser.
:param parser:
:param _: exit code.  Unused because we don't exit
:param message: Optional message