vertx / io.vertx.core.cli.annotations / Option / <init>

# <init>

`Option(longName: String, shortName: String, argName: String, required: Boolean, acceptValue: Boolean, acceptMultipleValues: Boolean, flag: Boolean, help: Boolean, choices: Array<String>)`

Annotates a setter to be called with the value of a command line option. Setter have been preferred to field to allow validation. The cardinality of the option is detected from the single method parameter type: arrays, list and set can receive several values.

Author
Clement Escoffier

See Also
Argument