UsageWriterWriteAlias Method

Writes a single alias for use in the argument description list.

Definition

Namespace: Ookii.CommandLine
Assembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 4.2.0+a4d3631e4dcc0970081ed435288efdebc1325f83
C#
protected virtual void WriteAlias(
	string alias,
	string prefix
)

Parameters

alias  String
The alias.
prefix  String
The argument name prefix; if using ParsingModeLongShort, this may vary depending on whether the alias is a short or long alias.

Remarks

The base implementation calls the WriteArgumentNameForDescription(String, String) method.

This method is called by the base implementation of the WriteAliases(IEnumerableString, IEnumerableChar, String, String) method.

See Also