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:53:00 UTC
[jira] [Created] (CLI-285) Nested Groups
Richard Kao created CLI-285:
-------------------------------
Summary: Nested Groups
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
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)