public class OptionFormatter
extends Object
-
Method Summary
getName(org.apache.commons.cli.Option opt)
longOpt(org.apache.commons.cli.Option opt)
Returns the command line format (with '--' prefix) for the Option.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
longOpt
public static String longOpt(org.apache.commons.cli.Option opt)
Returns the command line format (with '--' prefix) for the Option.
- Parameters:
opt - the option to process.
- Returns:
- the command line option.
-
getName
public static String getName(org.apache.commons.cli.Option opt)