The :mod:`!argparse` module makes it easy to write user-friendly command-line interfaces. The program defines what arguments it requires, and :mod:`!argparse` will figure out how to parse those out of ...
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).