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

### Uses of Option in org.apache.commons.cli

Fields in org.apache.commons.cli declared as Option
`protected Option` DefaultParser.`currentOption` The last option parsed.

Fields in org.apache.commons.cli with type parameters of type Option
`protected Comparator<Option>` HelpFormatter.`optionComparator` Comparator used to sort the options when they output in help text Defaults to case-insensitive alphabetical sorting by option key

Methods in org.apache.commons.cli that return Option
`Option` Option.Builder.`build()` Constructs an Option with the values declared by this `Option.Builder`.
`static Option` OptionBuilder.`create()` Deprecated. Create an Option using the current settings
`static Option` OptionBuilder.`create(char opt)` Deprecated. Create an Option using the current settings and with the specified Option `char`.
`static Option` OptionBuilder.`create(String opt)` Deprecated. Create an Option using the current settings and with the specified Option `char`.
`Option` MissingArgumentException.`getOption()` Return the option requiring an argument that wasn't provided on the command line.
`Option` AlreadySelectedException.`getOption()` Returns the option that was added to the group and triggered the exception.
`Option` Options.`getOption(String opt)` Retrieve the `Option` matching the long or short name specified.
`Option[]` CommandLine.`getOptions()` Returns an array of the processed `Option`s.

Methods in org.apache.commons.cli that return types with arguments of type Option
`Comparator<Option>` HelpFormatter.`getOptionComparator()` Comparator used to sort the options when they output in help text.
`Collection<Option>` Options.`getOptions()` Retrieve a read-only list of options in this set
`Collection<Option>` OptionGroup.`getOptions()`
`Iterator<Option>` CommandLine.`iterator()` Returns an iterator over the Option members of CommandLine.

Methods in org.apache.commons.cli with parameters of type Option
`Options` Options.`addOption(Option opt)` Adds an option instance
`OptionGroup` OptionGroup.`addOption(Option option)` Add the specified `Option` to this group.
`protected void` CommandLine.`addOption(Option opt)` Add an option to the command line.
`CommandLine.Builder` CommandLine.Builder.`addOption(Option opt)` Add an option to the command line.
`OptionGroup` Options.`getOptionGroup(Option opt)` Returns the OptionGroup the `opt` belongs to.
`void` Parser.`processArgs(Option opt, ListIterator<String> iter)` Deprecated. Process the argument values for the specified Option `opt` using the values retrieved from the specified iterator `iter`.
`void` OptionGroup.`setSelected(Option option)` Set the selected option of this group to `name`.

Method parameters in org.apache.commons.cli with type arguments of type Option
`void` HelpFormatter.`setOptionComparator(Comparator<Option> comparator)` Set the comparator used to sort the options when they output in help text.

Constructors in org.apache.commons.cli with parameters of type Option
Constructor and Description
`AlreadySelectedException(OptionGroup group, Option option)` Construct a new `AlreadySelectedException` for the specified option group.
`MissingArgumentException(Option option)` Construct a new `MissingArgumentException` with the specified detail message.