public class CommandLineParser extends Object
ExecutionContext.| Constructor and Description |
|---|
CommandLineParser() |
| Modifier and Type | Method and Description |
|---|---|
static CommandLine |
parse(String[] args,
boolean silent)
Parses arguments and initializes the parser.
|
static void |
printUsage()
Prints out usage.
|
public static CommandLine parse(String[] args, boolean silent) throws Exception
args - the argumentssilent - if true, no error messages will be writtenExceptionpublic static void printUsage()