UsageWriterWriteArgumentDescription(CommandLineArgument) Method

Writes the description of a single argument.

Definition

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

Parameters

argument  CommandLineArgument
The argument

Remarks

The base implementation calls the WriteArgumentDescriptionHeader(CommandLineArgument) method, the WriteArgumentDescriptionBody(CommandLineArgument) method, and then adds an extra blank line if the BlankLineAfterDescription property is .

If color is enabled, the ArgumentDescriptionColor property is used for the first line.

This method is called by the base implementation of the WriteArgumentDescriptions method.

See Also