commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <>
Subject [jira] Commented: (CLI-126) CLI2 should support multiple property args on command line
Date Wed, 29 Nov 2006 13:50:23 GMT
    [ ] 
Sebb commented on CLI-126:

This could break exisiting scripts that rely on the current behaviour, so (if implemented)
the existing method should return the last definition to maintain compatibility.

What is the use case for this?

> CLI2 should support multiple property args on command line
> ----------------------------------------------------------
>                 Key: CLI-126
>                 URL:
>             Project: Commons CLI
>          Issue Type: Improvement
>    Affects Versions: 2.0
>            Reporter: Sanjay Dahiya
> 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.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message