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

Thomas Neidhart updated CLI-239:
--------------------------------

    Fix Version/s: 2.0

> Patch: Required Options Not Using Generics
> ------------------------------------------
>
>                 Key: CLI-239
>                 URL: https://issues.apache.org/jira/browse/CLI-239
>             Project: Commons CLI
>          Issue Type: Improvement
>            Reporter: BELUGA BEHR
>            Priority: Trivial
>             Fix For: 2.0
>
>         Attachments: DefaultParser.java.patch, OptionGroup.java.patch, 
> Options.java.patch
>
>
> The way in which required options were being handled involved a list blended 
> with Options and Strings.  I have simplified the process and now the list 
> only contains Options.
> With this patch, OptionGroup now enforces that all Option objects added to it 
> match its own "required" level.
> The unit tests are broken with these changes though.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to