Skip to content

Mode flags

H90 edited this page May 5, 2021 · 6 revisions

An @Option of type boolean is interpreted as a mode flag. It does not take a value. The boolean indicates whether the flag was present on the command line.

The type must be boolean exactly. Boolean or Optional<Boolean> will not work.

If the boolean option has at least one unix name, it can be clustered with other unix options on the command line.

Clone this wiki locally