Option

User defined attribute for an option.

Constructors

this
this(string[] names)

Constructs the option with a list of names. Note that any leading "-" or "--" should be omitted. This is added automatically depending on the length of the name.

Members

Functions

opEquals
bool opEquals(string opt)

Returns true if the given option name is equivalent to this option.

toString
string toString()

Returns the canonical name of this option. That is, its first name.

Variables

names
string[] names;

List of names the option can have.

Meta