DescriptionListSortMode Enumeration
Indicates how the arguments in the description list should be sorted when generating usage help.
Namespace: Ookii.CommandLineAssembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 4.2.0+a4d3631e4dcc0970081ed435288efdebc1325f83
public enum DescriptionListSortMode
Public Enumeration DescriptionListSortMode
Dim instance As DescriptionListSortMode
public enum class DescriptionListSortMode
UsageOrder | 0 |
The descriptions are listed in the same order as the usage syntax: first the positional
arguments, then the non-positional required named arguments sorted by name, then the
remaining arguments sorted by name.
|
Alphabetical | 1 |
The descriptions are listed in alphabetical order by argument name. If the parsing mode
is ParsingModeLongShort, this uses the long name of the argument, unless
the argument has no long name, in which case the short name is used.
|
AlphabeticalDescending | 2 |
The same as Alphabetical, but in reverse order.
|
AlphabeticalShortName | 3 |
The descriptions are listed in alphabetical order by the short argument name. If the
argument has no short name, the long name is used. If the parsing mode is not
ParsingModeLongShort, this has the same effect as Alphabetical.
|
AlphabeticalShortNameDescending | 4 |
The same as AlphabeticalShortName, but in reverse order.
|