CommandLineArgument.Aliases Property

Gets the alternative names for this command line argument.

Definition

Namespace: Ookii.CommandLine
Assembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 4.0.0+bb7ed9a8fdfd1cb21824750a8cf508863ad15086
C#
public ImmutableArray<string> Aliases { get; }

Property Value

ImmutableArray<String>
A list of alternative names for this command line argument, or an empty array if none were specified.

Remarks

If the CommandLineParser.Mode property is ParsingMode.LongShort, and the HasLongName property is false, this property will always return an empty array.

See Also