class CustomFormatter(argparse.ArgumentDefaultsHelpFormatter, argparse.
    RawDescriptionHelpFormatter):
    pass
PARSER_FORMATTER = CustomFormatter
Python’s argh library: preserve docstring formatting in help message