This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Christof Hanke
Recipients Christof Hanke, docs@python
Date 2016-01-08.09:18:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1452244698.45.0.106083471244.issue26047@psf.upfronthosting.co.za>
In-reply-to
Content
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 a status code of 2.
"""

In fact, the returned staus code is 1.
History
Date User Action Args
2016-01-08 09:18:18Christof Hankesetrecipients: + Christof Hanke, docs@python
2016-01-08 09:18:18Christof Hankesetmessageid: <1452244698.45.0.106083471244.issue26047@psf.upfronthosting.co.za>
2016-01-08 09:18:18Christof Hankelinkissue26047 messages
2016-01-08 09:18:17Christof Hankecreate