[ http://issues.apache.org/jira/browse/CLI-126?page=comments#action_12454425 ] Sanjay Dahiya commented on CLI-126: -----------------------------------
Figured its actually easier to define a new PropertyOption type and plug that in. Works for me :-) thanks > CLI2 should support multiple property args on command line > ---------------------------------------------------------- > > Key: CLI-126 > URL: http://issues.apache.org/jira/browse/CLI-126 > 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: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]