Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.0, 1.1, 1.2
-
None
-
None
Description
OptionGroup stores the name of the option selected after the parsing. If the same Options is used again to parse another command line, an AlreadySelectedException is likely to occur since the selection state is never cleared from the option group.
This case was already covered by testValidLongOnlyOptions() in OptionGroupTest, but it never failed due to CLI-182.