[ https://issues.apache.org/jira/browse/CLI-131?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12501442 ]
Henri Yandell commented on CLI-131: ----------------------------------- Under 1.3, you get the following error. [junit] Exception in thread "main" java.lang.NoClassDefFoundError: org/w3c/dom/Node Which is a bit odd as I have xml-apis.jar in my ANT_HOME. > Options class returns options in random order > --------------------------------------------- > > Key: CLI-131 > URL: https://issues.apache.org/jira/browse/CLI-131 > Project: Commons CLI > Issue Type: Improvement > Components: CLI-1.x > Affects Versions: 1.0, 1.1 > Reporter: Brian Egge > Priority: Minor > Fix For: 1.1 > > Attachments: bug131.patch > > > The help formatter auto usage returns the options in a somewhat random order. > This is because the options are inserted in a HashMap, and then a copy of > the collection is returned with the getOptions() method. > The getOptions method should return the options in the order they were added, > or in a sorted order. -- 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]