You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Benedikt Ritter (JIRA)" <ji...@apache.org> on 2017/02/05 15:19:42 UTC

[jira] [Commented] (CLI-257) Allow partial parsing

    [ https://issues.apache.org/jira/browse/CLI-257?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15853250#comment-15853250 ] 

Benedikt Ritter commented on CLI-257:
-------------------------------------

Thank you [~johann_petrak]! This looks like a partial fix, which we could include. The part that is missing is a way to retrieve the unknown arguments. Further more it would be good to add some unit tests for this fix.

> Allow partial parsing
> ---------------------
>
>                 Key: CLI-257
>                 URL: https://issues.apache.org/jira/browse/CLI-257
>             Project: Commons CLI
>          Issue Type: Improvement
>    Affects Versions: 1.3.1
>         Environment: any
>            Reporter: guai
>         Attachments: commons-cli.diff
>
>
> commons cli can only throw exception or start skipping once it hit unknown parameter.
> I need a way to tell it to start skip unknown arguments and save them somewhere for later handling, but do handle known arguments to the end



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)