Uses of Class
fmpp.util.ArgsParser.OptionDefinition
Packages that use ArgsParser.OptionDefinition
-
Uses of ArgsParser.OptionDefinition in fmpp.util
Methods in fmpp.util that return ArgsParser.OptionDefinitionModifier and TypeMethodDescriptionDefines an option for the parser.Creates a copy of the option with different short- and long-name, but with the same property name (and other attributes).ArgsParser.OptionDefinition.defaultArg
(String defaultValue) Gives default argument value for an option that supports arguments, thus it will be optional to specify the argument value in the command-line.Sets the description (used in help) of the option.ArgsParser.getOptionDefinition
(String name) Returns theArgsParser.OptionDefinition
for the given option name.Convenience method; same as callingproperty(propertyName, optionName)
, where optionName is the long-name if that exists, otherwise the short-name.ArgsParser.OptionDefinition.implied()
Ensures that the option will be seemingly present if the args[] does not contains this option or any other option that mutually excludes this option.Ensures that the option will be seemingly present with the given argument value if args[] does not contains this option, or any other option that mutually excludes this option.Sets the property name for this option.Convenience method; same as callingproperty(String)
and thenpropertyValue
.ArgsParser.OptionDefinition.propertyValue
(String value) Sets the property value for this option.