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, wrapDescription
public UnixStyleUsageFormatter(JCommander commander)
public void appendAllParametersDetails(StringBuilder out, int indentCount, String indent, List<ParameterDescription> sortedParameters)
appendAllParametersDetails
in class DefaultUsageFormatter
out
- the builder to append toindentCount
- the amount of indentation to applyindent
- the indentationsortedParameters
- the parameters to append to the builderCopyright © 2020. All rights reserved.