Package | Description |
---|---|
net.sourceforge.argparse4j |
Modifier and Type | Method and Description |
---|---|
ArgumentParserBuilder |
ArgumentParserBuilder.addHelp(boolean flag)
If true,
-h/--help are available. |
ArgumentParserBuilder |
ArgumentParserBuilder.cjkWidthHack(boolean flag)
Set
true to enable CJK width hack. |
ArgumentParserBuilder |
ArgumentParserBuilder.defaultFormatWidth(int defaultFormatWidth)
Set the default format width.
|
ArgumentParserBuilder |
ArgumentParserBuilder.fromFilePrefix(String fromFilePrefix)
The set of characters that prefix file path from which
additional arguments should be read.
|
ArgumentParserBuilder |
ArgumentParserBuilder.locale(Locale locale)
The locale to use for messages.
|
static ArgumentParserBuilder |
ArgumentParsers.newFor(String prog)
Creates
ArgumentParserBuilder with given program name. |
ArgumentParserBuilder |
ArgumentParserBuilder.noDestConversionForPositionalArgs(boolean flag)
Do not perform any conversion to produce "dest" value (See
Argument.getDest() ) from positional argument name. |
ArgumentParserBuilder |
ArgumentParserBuilder.prefixChars(String prefixChars)
The set of characters that prefix named arguments.
|
ArgumentParserBuilder |
ArgumentParserBuilder.singleMetavar(boolean flag)
If singleMetavar is
true , a metavar string in help message is
only shown after the last flag instead of each flag. |
ArgumentParserBuilder |
ArgumentParserBuilder.terminalWidthDetection(boolean flag)
Set
true to enable terminal width detection. |
Copyright © 2012–2017. All rights reserved.