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
action_ Specify how an argument should be handled ``'store'``, ``'store_const'``, ``'store_true'``, ``'append'``, ``'append_const'``, ``'count'``, ``'help'``, ``'version'``
64
-
choices_ Limit values to a specific set of choices ``['foo', 'bar']``, ``range(1, 10)``, or :class:`~collections.abc.Container` instance
65
-
const_ Store a constant value
66
-
default_ Default value used when an argument is not provided Defaults to ``None``
67
-
dest_ Specify the attribute name used in the result namespace
68
-
help_ Help message for an argument
69
-
metavar_ Alternate display name for the argument as shown in help
70
-
nargs_ Number of times the argument can be used :class:`int`, ``'?'``, ``'*'``, or ``'+'``
71
-
required_ Indicate whether an argument is required or optional ``True`` or ``False``
72
-
type_ Automatically convert an argument to the given type :class:`int`, :class:`float`, ``argparse.FileType('w')``, or callable function
action_ Specify how an argument should be handled ``'store'``, ``'store_const'``, ``'store_true'``, ``'append'``, ``'append_const'``, ``'count'``, ``'help'``, ``'version'``
64
+
choices_ Limit values to a specific set of choices ``['foo', 'bar']``, ``range(1, 10)``, or :class:`~collections.abc.Container` instance
65
+
const_ Store a constant value
66
+
default_ Default value used when an argument is not provided Defaults to ``None``
67
+
dest_ Specify the attribute name used in the result namespace
68
+
help_ Help message for an argument
69
+
metavar_ Alternate display name for the argument as shown in help
70
+
nargs_ Number of times the argument can be used :class:`int`, ``'?'``, ``'*'``, or ``'+'``
71
+
required_ Indicate whether an argument is required or optional ``True`` or ``False``
72
+
:ref:`type <argparse-type>` Automatically convert an argument to the given type :class:`int`, :class:`float`, ``argparse.FileType('w')``, or callable function
0 commit comments