You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Richard Kao (JIRA)" <ji...@apache.org> on 2018/04/27 02:56:00 UTC

[jira] [Updated] (CLI-285) Multiple Options in Option Group

     [ https://issues.apache.org/jira/browse/CLI-285?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Richard Kao updated CLI-285:
----------------------------
    Summary: Multiple Options in Option Group  (was: Nested Groups)

> 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)