Adding a new API sounds like a good idea.
Note: I added OptionGroup.isSelected() to refactor some existing code
duplication.
Gary
On Sat, Jun 8, 2024, 2:26 AM Claude Warren wrote:
> I have a case where I have multiple no-argument options in an OptionGroup.
> The group comprises a deprecated op
I have a case where I have multiple no-argument options in an OptionGroup.
The group comprises a deprecated option and a current option. Basically an
option rename.
When I check for the option I simply check if (OptionGroup.getSelected() !=
null). However if the deprecated value is selected this