« Return to Thread: [jira] Created: (CLI-155) Allow caller to define ordering of options in help message

[jira] Updated: (CLI-155) Allow caller to define ordering of options in help message

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View in Thread


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

Emmanuel Bourg updated CLI-155:
-------------------------------

    Component/s:     (was: CLI-1.x)
                 Help formatter

> Allow caller to define ordering of options in help message
> ----------------------------------------------------------
>
>                 Key: CLI-155
>                 URL: https://issues.apache.org/jira/browse/CLI-155
>             Project: Commons CLI
>          Issue Type: Improvement
>          Components: Help formatter
>            Reporter: Mike DeLaurentis
>             Fix For: 1.2
>
>         Attachments: CLI-155.patch
>
>
> It would be nice if the caller could define their own ordering of command-line options, as an alternative to alphabetical ordering. I see there's an OptionComparator class within HelpFormatter.  Maybe you could add a setOptionComparator(Comparator comp) method.

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

 « Return to Thread: [jira] Created: (CLI-155) Allow caller to define ordering of options in help message