Modifier and Type | Method | Description |
---|---|---|
CommandLine.Help.Layout |
CommandLine.Help.createDefaultLayout() |
Returns a
Layout instance configured with the user preferences captured in this Help instance. |
Modifier and Type | Method | Description |
---|---|---|
String |
CommandLine.Help.optionList(CommandLine.Help.Layout layout,
Comparator<CommandLine.Model.OptionSpec> optionSort,
CommandLine.Help.IParamLabelRenderer valueLabelRenderer) |
Sorts all
Options with the specified comparator (if the comparator is non-null ),
then adds all non-hidden options to the
specified TextTable and returns the result of TextTable.toString(). |
String |
CommandLine.Help.parameterList(CommandLine.Help.Layout layout,
CommandLine.Help.IParamLabelRenderer paramLabelRenderer) |
Returns the section of the usage help message that lists the parameters with their descriptions.
|
Copyright © 2017–2019. All rights reserved.