vertx / io.vertx.rxjava.core.cli / CommandLine / isFlagEnabled

isFlagEnabled

open fun isFlagEnabled(name: String): Boolean

Gets the value of an option marked as a flag. Calling this method an a non-flag option throws an java.lang.IllegalStateException.

Parameters

name - the option name

Return
true if the flag has been set in the command line, false otherwise.