JavaScript is disabled on your browser.
Returns a Builder initialized from the specified OptionSpec
.
Sets the fallback value for this option: the value that is assigned for options with an optional
parameter if the option was specified on the command line without parameter, and returns this builder.
CommandLine.Model.OptionSpec.Builder. help (boolean help)
Sets whether this option disables validation of the other arguments, and returns this builder.
CommandLine.Model.OptionSpec.Builder. names (String ... names)
Replaces the option names with the specified values.
CommandLine.Model.OptionSpec.Builder. negatable (boolean negatable)
Sets whether a negative version for this boolean option is automatically added, and returns this builder.
CommandLine.Model.OptionSpec.Builder. order (int order)
Sets the position in the options list in the usage help message at which this option should be shown, and returns this builder.
CommandLine.Model.OptionSpec.Builder. self ()
Returns a new Builder initialized with the attributes from this OptionSpec
.
CommandLine.Model.OptionSpec.Builder. usageHelp (boolean usageHelp)
Sets whether this option allows the user to request usage help, and returns this builder.
CommandLine.Model.OptionSpec.Builder. versionHelp (boolean versionHelp)
Sets whether this option allows the user to request version information, and returns this builder.