DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13462>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13462 org.apache.avalon.excalibur.cli.CLArgsParser - duplicate options lost Summary: org.apache.avalon.excalibur.cli.CLArgsParser - duplicate options lost Product: Avalon Version: unspecified Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: Excalibur AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] the CLArgsParser loses additional arguments specified against options marked as ALLOW_DUPLICATES. I suspect the reason is because the m_optionIndex uses a Hashtable to store options, key'd on name or id which effectively gets rid of duplicates (and the duplicate options are stored as duplicates in the vector, as opposed to adding the duplicate arguments to a single option). workaround is to use getArguments() which will return the vector that has the duplicate values and get the duplicates out of there. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
