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

Thomas Neidhart updated CLI-217:
--------------------------------

    Attachment: CLI-217.patch

The attached patch improves the original one wrt improving partial matches and 
also adds a flag to disable partial matching for the DefaultParser.
                
> Optional partial matching for long options
> ------------------------------------------
>
>                 Key: CLI-217
>                 URL: https://issues.apache.org/jira/browse/CLI-217
>             Project: Commons CLI
>          Issue Type: Improvement
>          Components: Parser
>    Affects Versions: 1.3
>            Reporter: Emmanuel Bourg
>             Fix For: 1.3
>
>         Attachments: CLI-217.patch, optPartialMatch.patch
>
>
> DefaultParser support partial long options (i.e --ver matches --version if 
> there is no ambiguity), but for some cases it might be necessary to disable 
> this feature.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to