Python 3.9 added "exit_on_error" parameter to the ArgumentParser class. With this parameter, it is possible to process arguments without error or exit (show help).
Pythonの標準ライブラリである”argparse”はコマンドラインオプションや引数、サブコマンドのパーサを生成しそれらをパースする機能を提供します。argparseを使用することで、Pythonスクリプトはコマンドラインからの引数を簡単に取り扱うことができます。
Calling ArgumentParser with version parameter doesn't work when running under python 3.5, so I patched it out. I don't see any regression when applying the patch and running with Python 2.7 --- ...