commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Neidhart (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLI-219) Allow to specify options with a single argument that will be split into multiple arguments
Date Sun, 17 Feb 2013 20:43:13 GMT

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

Thomas Neidhart commented on CLI-219:
-------------------------------------

Yes, I understand that, but could you please then attach the full context to the issue?
This would make it much easier to work on it.

All I see here are examples that can be solved using _existing_ techniques.
                
> Allow to specify options with a single argument that will be split into multiple arguments
> ------------------------------------------------------------------------------------------
>
>                 Key: CLI-219
>                 URL: https://issues.apache.org/jira/browse/CLI-219
>             Project: Commons CLI
>          Issue Type: New Feature
>          Components: CLI-1.x
>    Affects Versions: 1.2
>            Reporter: Gilles
>              Labels: features
>             Fix For: 1.4
>
>         Attachments: svn_diff.txt
>
>
> I've explained the issue in that thread:
>   http://www.mail-archive.com/user@commons.apache.org/msg06483.html
> As hinted there, a solution might be to allow that the (single) argument of an "Option"
(cf. "hasArg()") be split according to a user-defined regexp pattern. If given a split pattern,
the code would convert a single-arg "Option" into a multiple-args one (where the arguments
are the result of splitting the single-arg string with the pattern).

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

Mime
View raw message