A flag option. Boolean option value, initially false, set to true every
time when option is processed.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
OptionFlag
Creates new option with given names.- Parameters:
names
- space-delimited names.
-
-
Method Details
-
getValue
Returns current option value. -
handle
public void handle()Sets option value to true.- Specified by:
handle
in classOptionWithoutArg<Boolean>
-