Long name for this option (--long_name on the command line)
Short name for this option (-short_name on the command line)
Default value for this option
Description of the parameter (used in help message)
Other flags that this option implicitly enables
Other flags that this option implicitly disables
Other options that this option is not valid with
Other options that are required to be set when using this options
Whether or not this option is exclusive and cannot be used with any other options (e.g. like --help where it prints the help message and exits)
A method that takes the String value and returns a boolean indicating if the argument value is valid
Get the value
Get the value
This calls Option.get on the underlying value so an exception will be thrown if the value is not set.
Parses the string command line argument into an Int
Reset the value to the default
Validate the parsed value using the validate argument passed in on the constructor
Validate the parsed value using the validate argument passed in on the constructor
The value attached to this command line option (wrapped in an Option)
The value attached to this command line option (wrapped in an Option)
(Since version ) see corresponding Javadoc for more information.
IntOpt has the same usage as com.frugalmechanic.optparse.StrOpt except it returns a Int instead of a String