Flag.this

Constructs a flag.

class Flag
@safe
this
(
string shortName
,
string longName
,)

Parameters

shortName string

Single-character short name, or null.

longName string

Long name, or null.

description string

Description of the flag.

Throws

AssertionError if both names are null, shortName not single character, or longName empty.