public final class CommandLineUtil extends Object
Modifier and Type | Method and Description |
---|---|
static void |
printHelp(org.apache.commons.cli2.Group group) |
static void |
printHelpWithGenericOptions(org.apache.commons.cli2.Group group)
Print the options supported by
GenericOptionsParser . |
static void |
printHelpWithGenericOptions(org.apache.commons.cli2.Group group,
org.apache.commons.cli2.OptionException oe) |
public static void printHelp(org.apache.commons.cli2.Group group)
public static void printHelpWithGenericOptions(org.apache.commons.cli2.Group group) throws IOException
GenericOptionsParser
.
In addition to the options supported by the job, passed in as the
group parameter.group
- job-specific command-line options.IOException
public static void printHelpWithGenericOptions(org.apache.commons.cli2.Group group, org.apache.commons.cli2.OptionException oe) throws IOException
IOException
Copyright © 2008–2017 The Apache Software Foundation. All rights reserved.