You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Henri Yandell (JIRA)" <ji...@apache.org> on 2007/05/03 21:37:15 UTC

[jira] Updated: (CLI-126) CLI2 should support multiple property args on command line

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

Henri Yandell updated CLI-126:
------------------------------

    Fix Version/s: 2.1

I know it's 6 months later - but I'm sure it would help this issue if you can attach your workaround Sanjay.

> CLI2 should support multiple property args on command line
> ----------------------------------------------------------
>
>                 Key: CLI-126
>                 URL: https://issues.apache.org/jira/browse/CLI-126
>             Project: Commons CLI
>          Issue Type: Improvement
>          Components: CLI-2.x
>    Affects Versions: 2.0
>            Reporter: Sanjay Dahiya
>             Fix For: 2.1
>
>
> If I specify a command line like -Dsomekey=value1 -Xsomekey=value2, after parsing the value of somekey is overwritten as WritableCommandLine maintains a single set for all properties irrespective of switch. 
> There should be a way of handling this case. CommandLine should probably return a set of all the switches from which we get properties. 
> comments? I can submit a patch for this if its ok to make this change. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org