Constants |
public
|
FLAG = 0
Enable a setting
Enable a setting
Examples:
|
#
|
public
|
VALUE = 1
Set a value
Set a value
Examples:
-v <level>
--verbosity <level>
|
#
|
public
|
VALUE_OPTIONAL = 2
Set a value, or don't
Set a value, or don't
Examples (note the lack of whitespace):
-v<level>
--verbosity=<level>
|
#
|
public
|
VALUE_POSITIONAL = 3
Set the value of a positional parameter
Set the value of a positional parameter
|
#
|
public
|
ONE_OF = 4
Choose from a list of values
Choose from a list of values
Examples:
-f (yes|no|ask)
--force (yes|no|ask)
|
#
|
public
|
ONE_OF_OPTIONAL = 5
Choose from a list of values, or don't
Choose from a list of values, or don't
Examples (note the lack of whitespace):
-f(yes|no|ask)
--force=(yes|no|ask)
|
#
|
public
|
ONE_OF_POSITIONAL = 6
Choose the value of a positional parameter from a list
Choose the value of a positional parameter from a list
|
#
|