UsageWriterWriteArgumentDescription(CommandLineArgument) Method

Writes the description of a single argument.

Definition

Namespace: Ookii.CommandLine
Assembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 4.0.0+bb7ed9a8fdfd1cb21824750a8cf508863ad15086
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