Flag

Represents a flag.

Flag hold a single boolean value. Flags are optional and cannot be set as required.

Constructors

this
this(string name)

Creates new flag.

this
this(string abbrev, string full, string description)

Creates new flag.

Inherited Members

From IOption

full
typeof(this) full(string full)

Sets option full name (long-form).

full
string full()
long_
alias long_ = full

Option full name (long-form).

abbrev
typeof(this) abbrev(string abbrev)

Sets option abbrevation (short-form).

abbrev
string abbrev()
short_
alias short_ = abbrev

Sets option abbrevation (short-form).

Meta