[
https://issues.apache.org/jira/browse/CLI-124?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12615408#action_12615408
]
Oliver Heger commented on CLI-124:
----------------------------------
If I understand this correctly, we need a notion for: This child group is
optional, but if it is present, it must have at least n elements, correct?
> HelpFormatter should be more cunning when deciding if a Group is Optional and
> therefore square-bracketing it
> ------------------------------------------------------------------------------------------------------------
>
> Key: CLI-124
> URL: https://issues.apache.org/jira/browse/CLI-124
> Project: Commons CLI
> Issue Type: Improvement
> Components: CLI-2.x
> Reporter: Andrew Shirley
> Fix For: 2.0
>
>
> Currently all child groups are required to satisfy their constraints (defaul
> is any thing goes) and so if you have a Group A as a child of Group B and set
> a minimum of 1 on A then B is no longer Optional as A is not Optional.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.