Usage.Option

Representation of a CLI Option

The DDoc description ddoxText is only available when compiled with -version=DdocOptions.

Constructors

this
this(string flag, string helpText, TargetOS os, bool documented)
this(string flag, string helpText, string ddocText, TargetOS os, bool documented)

Members

Variables

ddocText
string ddocText;

Detailed description of the flag (in Ddoc)

flag
string flag;

The CLI flag without leading -, e.g. color

helpText
string helpText;

A detailed description of the flag

os
TargetOS os;

For which TargetOS the flags are applicable

Meta