Uses of Class org.apache.commons.cli.Option

Uses in package org.apache.commons.cli

Fields of type org.apache.commons.cli.Option

Option
holder for the current option

Methods with parameter type org.apache.commons.cli.Option

void
Add an option to the command line.
OptionGroup
add opt to this group
Options
Adds an option instance
void
HelpFormatter.appendOption(StringBuffer buff, Option option, boolean required)
Appends the usage clause for an Option to a StringBuffer.
OptionGroup
Returns the OptionGroup the opt belongs to.
void
Parser.processArgs(Option opt, ListIterator iter)
Process the argument values for the specified Option opt using the values retrieved from the specified iterator iter.
void
set the selected option of this group to name.

Methods with return type org.apache.commons.cli.Option

Option
Create an Option using the current settings
Option
OptionBuilder.create(String opt)
Create an Option using the current settings and with the specified Option char.
Option
Create an Option using the current settings and with the specified Option char.
Option
Options.getOption(String opt)
Retrieve the named Option
Option[]
Returns an array of the processed Options.
Option
Retrieves the option object given the long or short option as a String