This appears to be argparser behaviour. See http://stackoverflow.com/questions/5943249/python-argparse-and-controlling-overriding-the-exit-status-code and https://www.python.org/dev/peps/pep-0389/#discussion-sys-stderr-and-sys-exit particularly.
This appears to be argparser behaviour. See http:// stackoverflow. com/questions/ 5943249/ python- argparse- and-controlling -overriding- the-exit- status- code and https:/ /www.python. org/dev/ peps/pep- 0389/#discussio n-sys-stderr- and-sys- exit particularly.