UsageWriterWriteArgumentDescriptionHeader Method

Writes the header of an argument's description, which is usually the name and value description.

Definition

Namespace: Ookii.CommandLine
Assembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 4.2.0+a4d3631e4dcc0970081ed435288efdebc1325f83
C#
protected virtual void WriteArgumentDescriptionHeader(
	CommandLineArgument argument
)

Parameters

argument  CommandLineArgument
The argument

Remarks

The base implementation writes the name(s), value description, and alias(es), ending with a new line. Which elements are included can be influenced using the properties of this class.

If color is enabled, the ArgumentDescriptionColor property is used.

This method is called by the base implementation of the WriteArgumentDescription(CommandLineArgument) method.

See Also