public abstract class CmdLineAction
extends java.lang.Object
An action can be of three different kinds:
CmdLine assumes that arguments prefixed with a single '-' are one char only (e.g. -f) or all other arguments
are either an unnamed option or are prefixed with '--' (e.g. --file).| Constructor and Description |
|---|
CmdLineAction() |
| Modifier and Type | Method and Description |
|---|---|
CmdLineAction |
arg(java.lang.String arg)
Assign an argument string to this action.
|
public CmdLineAction arg(java.lang.String arg)
arg - The argument string to add.CmdLineAction.