@staticmethod
    def _possibly_exit_with_help(parser, known_args):
        if known_args.core_help or known_args.core_help_all:
            parser.print_help()
            sys.exit()
Check if the user passed --help[-all], if so, print a message and exit.
dataset/ETHPy150Open spotify/luigi/luigi/cmdline_parser.py/CmdlineParser._possibly_exit_with_help