Class ManPageGenerator.SortByShortestOptionNameAlphabetically

  • All Implemented Interfaces:
    java.util.Comparator<CommandLine.Model.OptionSpec>
    Enclosing class:
    ManPageGenerator

    static class ManPageGenerator.SortByShortestOptionNameAlphabetically
    extends java.lang.Object
    implements java.util.Comparator<CommandLine.Model.OptionSpec>
    Sorts OptionSpec instances by their name in case-insensitive alphabetic order. If an option has multiple names, the shortest name is used for the sorting. Help options follow non-help options.