[ https://issues.apache.org/jira/browse/CLI-285?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16646934#comment-16646934 ]
TPD-opitz edited comment on CLI-285 at 10/14/18 10:46 PM: ---------------------------------------------------------- In my view the object mane _OptionGroup_ is missleading and I'd rather concider a group of options to depend on each other. But for the time being that's what we have. I suggest to call the new Feature an *OptionSet* which can be added to an _OptionGroup._ I'd also volonteer to implement that. was (Author: tpd-opitz): In my view the object mane _OptionGroup_ is missleading and I'd rather concider a group of options to depend on each other. But for the time being that's what we have. I suggest to call the new Feature an *OptionList* which can be added to an _OptionGroup._ I'd also volonteer to implement that. > Multiple Options in Option Group > -------------------------------- > > Key: CLI-285 > URL: https://issues.apache.org/jira/browse/CLI-285 > Project: Commons CLI > Issue Type: Improvement > Components: CLI-1.x > Reporter: Richard Kao > Priority: Major > > Allow the creation of multiple Options with in an OptionGroup so something > like the following can be created: > [ -a ] [ [ -b <arg>] [ -c <arg> ] | [ -d <arg> ] | [ -e <arg> ]] > So these would be valid: > -b <arg> > -c <arg> > -b <arg> -c <arg> > -d <arg> > -e <arg> > The "-d", "-e", and "-b -c" are mutually exclusive -- This message was sent by Atlassian JIRA (v7.6.3#76005)