SilentGhost added the comment:
Christof, you'd have to demonstrate the issue in more than just words. The
returned status code is hard-coded to be 2 in the error method and it does end
up being 2 when i run, could you post some output that led you to believe that
it is 1?
--
nosy: +Si
New submission from Christof Hanke:
On https://docs.python.org/2/library/argparse.html (and on those of the
3.6-Version) it says at the bottom:
"""
ArgumentParser.error(message)
This method prints a usage message including the message to the standard
error and terminates the program with