public class UserOptions.ParseResolveOption extends UserOptions.RequiredArgSwitch
Constructor and Description |
---|
ParseResolveOption() |
Modifier and Type | Method and Description |
---|---|
boolean |
isHidden()
Return
true if this command line option should be
hidden when the help text is generated. |
void |
processCommandSwitch(java.lang.String optarg)
This method is called when the Babel end user specifies this command
line switch on the command line.
|
getArgumentName, hasRequiredArgument
public final void processCommandSwitch(java.lang.String optarg)
CommandLineSwitch
optarg
- this argument will be null if the command line switch
doesn't take a required argument (i.e., CommandLineSwitch.hasRequiredArgument()
is false
) or if the command line switch takes an
optional argument (i.e., CommandLineSwitch.hasOptionalArgument()
is
true
) and an argument wasn't provided; otherwise, the
argument is a non-null string including the text from the command line.public final boolean isHidden()
CommandLineSwitch
true
if this command line option should be
hidden when the help text is generated.isHidden
in interface CommandLineSwitch
true
means that this options requests to not
be printed with the help text.