Class Opt
java.lang.Object
net.sf.colossus.cmdline.Opt
Class Opt represents a single command-line option.
- Author:
- David Ripton
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
optch
private final char optch -
name
-
hasarg
private final boolean hasarg -
help
-
-
Constructor Details
-
Opt
-
-
Method Details
-
getOptch
public char getOptch()short option name -
getName
long option name -
hasArg
public boolean hasArg()whether the option takes an argument -
getHelp
help string -
toString
-