public class CmdLineParserWithPrintInformation
extends org.kohsuke.args4j.CmdLineParser
CmdLineParser
that can provide some information that can be used to
print help in more flexible form than CmdLineParser
.Constructor and Description |
---|
CmdLineParserWithPrintInformation(Object bean) |
Modifier and Type | Method and Description |
---|---|
int |
calculateMaxLen() |
void |
printUsage(Writer out,
org.kohsuke.args4j.OptionHandlerFilter filter,
int len)
Prints usage using the provided length to print options (instead of calculating the length as
in
CmdLineParser ). |
addArgument, addOption, createOptionHandler, getArguments, getOptions, getProperties, isOption, parseArgument, parseArgument, printExample, printExample, printExample, printExample, printOption, printSingleLineUsage, printSingleLineUsage, printUsage, printUsage, printUsage, registerHandler, setUsageWidth, stopOptionParsing
public CmdLineParserWithPrintInformation(Object bean)
public int calculateMaxLen()
public void printUsage(Writer out, org.kohsuke.args4j.OptionHandlerFilter filter, int len)
CmdLineParser
).