commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Johann Petrak (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CLI-257) Allow partial parsing
Date Wed, 01 Feb 2017 16:15:51 GMT

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

Johann Petrak updated CLI-257:
------------------------------
    Attachment: commons-cli.diff

I have used the attached patch to achieve what I need.

> 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)

Mime
View raw message