Class UnixStyleUsageFormatter

    • Constructor Detail

      • UnixStyleUsageFormatter

        public UnixStyleUsageFormatter​(JCommander commander)
    • Method Detail

      • appendAllParametersDetails

        public 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.
        Overrides:
        appendAllParametersDetails in class DefaultUsageFormatter
        Parameters:
        out - the builder to append to
        indentCount - the amount of indentation to apply
        indent - the indentation
        sortedParameters - the parameters to append to the builder