UsageWriterArgumentDescriptionColor Property

Gets or sets the color applied by the WriteArgumentDescription(CommandLineArgument) method.

Definition

Namespace: Ookii.CommandLine
Assembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 4.0.0+bb7ed9a8fdfd1cb21824750a8cf508863ad15086
C#
public TextFormat ArgumentDescriptionColor { get; set; }

Property Value

TextFormat
The virtual terminal sequence for a color. The default value is TextFormatForegroundGreen.

Remarks

The color will only be used if the UseColor property is .

The portion of the string that has color will end with the value of the ColorReset property.

With the default format, only the argument name, value description and aliases portion of the string has color; the actual argument description does not.

See Also