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(java.lang.StringBuilder out,
int indentCount,
java.lang.String indent,
java.util.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(java.lang.StringBuilder out, int indentCount, java.lang.String indent, java.util.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 builder