Custom CLI help formatter to render things correctly.
Fields inherited from class | Fields |
---|---|
class HelpFormatter |
DEFAULT_WIDTH, DEFAULT_LEFT_PAD, DEFAULT_DESC_PAD, DEFAULT_SYNTAX_PREFIX, DEFAULT_OPT_PREFIX, DEFAULT_LONG_OPT_PREFIX, DEFAULT_LONG_OPT_SEPARATOR, DEFAULT_ARG_NAME, defaultWidth, defaultLeftPad, defaultDescPad, defaultSyntaxPrefix, defaultNewLine, defaultOptPrefix, defaultLongOptPrefix, defaultArgName |
Constructor and description |
---|
HelpFormatter
() |
Type Params | Return Type | Name and description |
---|---|---|
|
int |
getDefaultWidth() |
|
protected StringBuffer |
renderOptions(StringBuffer sb, int width, Options options, int leftPad, int descPad) |
Methods inherited from class | Name |
---|---|
class HelpFormatter |
setWidth, setArgName, getArgName, getLongOptPrefix, getNewLine, setLongOptPrefix, printHelp, printHelp, printHelp, printHelp, printHelp, printHelp, printHelp, printHelp, printWrapped, printWrapped, getDescPadding, setLeftPadding, getLeftPadding, setSyntaxPrefix, setNewLine, printOptions, setOptPrefix, getSyntaxPrefix, setDescPadding, getOptPrefix, getOptionComparator, setOptionComparator, getLongOptSeparator, setLongOptSeparator, getWidth, printUsage, printUsage, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
class Object |
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Copyright © 2003-2018 The Apache Software Foundation. All rights reserved.