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

- ## Uses of OptionGroup in org.apache.commons.cli

  Methods in org.apache.commons.cli that return OptionGroup
  Modifier and Type
  Method
  Description
  `OptionGroup`
  OptionGroup.`addOption(Option option)`
  Add the specified `Option` to this group.
  `OptionGroup`
  AlreadySelectedException.`getOptionGroup()`
  Gets the option group where another option has been selected.
  `OptionGroup`
  Options.`getOptionGroup(Option opt)`
  Gets the OptionGroup the `opt` belongs to.
  Methods in org.apache.commons.cli with parameters of type OptionGroup
  Modifier and Type
  Method
  Description
  `Options`
  Options.`addOptionGroup(OptionGroup group)`
  Adds the specified option group.
  Constructors in org.apache.commons.cli with parameters of type OptionGroup
  Modifier
  Constructor
  Description
  ``
  `AlreadySelectedException(OptionGroup group, Option option)`
  Constructs a new `AlreadySelectedException` for the specified option group.