You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
prog_ The name of the program Defaults to ``os.path.basename(sys.argv[0])``
34
+
usage_ The string describing the program usage
35
+
description_ A brief description of what the program does
36
+
epilog_ Additional description of the program after the argument help
37
+
parents_ A list of :class:`ArgumentParser` objects whose arguments should also be included
38
+
formatter_class_ A class for customizing the help output ``argparse.HelpFormatter``
39
+
prefix_chars_ The set of characters that prefix optional arguments Defaults to ``'-'``
40
+
fromfile_prefix_chars_ The set of characters that prefix files to read additional arguments from Defaults to ``None`` (meaning arguments will never be treated as file references)
41
+
argument_default_ The global default value for arguments
42
+
allow_abbrev_ Allows long options to be abbreviated if the abbreviation is unambiguous ``True`` or ``False`` (default: ``True``)
43
+
conflict_handler_ The strategy for resolving conflicting optionals
44
+
add_help_ Add a ``-h/--help`` option to the parser ``True`` or ``False`` (default: ``True``)
45
+
exit_on_error_ Determines whether or not to exit with error info when an error occurs ``True`` or ``False`` (default: ``True``)
0 commit comments