public class UnixStyleUsageFormatter extends DefaultUsageFormatter
appendAllParametersDetails(StringBuilder, int, String, List) which is inherited from
DefaultUsageFormatter.| Constructor and Description |
|---|
UnixStyleUsageFormatter(JCommander commander) |
| Modifier and Type | Method and Description |
|---|---|
void |
appendAllParametersDetails(StringBuilder out,
int indentCount,
String indent,
List<ParameterDescription> sortedParameters)
Appends the details of all parameters in the given order to the argument string builder, indenting every
line with indentCount-many indent.
|
appendCommands, appendMainLine, getCommandDescription, getI18nString, s, usage, usage, usage, usage, usage, wrapDescription, wrapDescriptionpublic UnixStyleUsageFormatter(JCommander commander)
public void appendAllParametersDetails(StringBuilder out, int indentCount, String indent, List<ParameterDescription> sortedParameters)
appendAllParametersDetails in class DefaultUsageFormatterout - the builder to append toindentCount - the amount of indentation to applyindent - the indentationsortedParameters - the parameters to append to the builderCopyright © 2024. All rights reserved.