class
argparse.ArgumentParser(prog=None, usage=None, description=None, epilog=None, parents=[], formatter_class=argparse.HelpFormatter, prefix_chars='-', fromfile_prefix_chars=None, argument_default=None, conflict_handler='error', add_help=True, allow_abbrev=True)
- prog - name of the program (default: sys.argv [0])
- usage - use a string describing the program (default: generating a parameter added to the parser)
- description - text to be displayed before the parameter help file (Default: None)
- epilog - text displayed after the parameter help file (Default: None)
- parents - ArgumentParser a list of objects, their parameters should also be included
- formatter_class - help documentation for customizing the output format of the class
- prefix_chars - prefix characters optional set of parameters (default: '-')
- fromfile_prefix_chars - when other parameters need to be read from a file, a prefix character set (default: None) containing the filename
- argument_default - global default value of the parameter (default: None)
- conflict_handler - Strategies to resolve conflicts option (usually unnecessary)
- add_help - Adding a -h / parser - help option (default: True)
- allow_abbrev - If the abbreviation is unambiguous, allows abbreviations long options (default: True)