Package picocli

Class CommandLine.Help.SortByShortestOptionNameAlphabetically

java.lang.Object
picocli.CommandLine.Help.SortByShortestOptionNameAlphabetically
All Implemented Interfaces:
Comparator<CommandLine.Model.OptionSpec>
Direct Known Subclasses:
CommandLine.Help.SortByOptionArityAndNameAlphabetically
Enclosing class:
CommandLine.Help

static class CommandLine.Help.SortByShortestOptionNameAlphabetically extends Object implements 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.