Uploaded image for project: 'Commons CLI'
  1. Commons CLI
  2. CLI-67

[cli] Missing arguments in HelpFormatter.renderOptions(..)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0
    • 1.1
    • CLI-1.x
    • None
    • Operating System: other
      Platform: Other

    • 19383

    Description

      The method renderOptions(....) ignores Options with no shortOpt.

      Possible Solution:
      replace
      List optList = options.helpOptions();
      Collections.sort( optList, new StringBufferComparator() );

      with
      Collection optList = options.getOptions();

      Attachments

        Activity

          People

            Unassigned Unassigned
            sascha.spiekermann@gmx.net Sascha Spiekermann
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: