NegateOption

the negate option like --no-flag, which is controller option that doesn't contains inner value.

Constructors

this
this(string flags, string description)
Undocumented in source.

Members

Functions

isFlag
bool isFlag(string flag)

test whether a string matches this option's long/short flag

matchFlag
bool matchFlag(NegateOption other)

test whether the other NegateOption variable's flag same in some parts

matchFlag
bool matchFlag(Option other)

test whether the other Option variable's flag same in some parts

Properties

attrName
string attrName [@property getter]

get the attribute name of option in camel-like, which is gennerated from this.name

name
string name [@property getter]

get the name of option

Variables

description
string description;
Undocumented in source.
flags
string flags;
Undocumented in source.
hidden
bool hidden;
Undocumented in source.
longFlag
string longFlag;
Undocumented in source.
shortFlag
string shortFlag;
Undocumented in source.

Meta