CommandLineArgument.ShortAliases Property

Gets the alternative short names for this command line argument.

Definition

Namespace: Ookii.CommandLine
Assembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 5.0.0+724ca9b7fa5edc075ec2ae65044e61b0d494fd1c
C#
public ImmutableArray<ShortAliasAttribute> ShortAliases { get; }

Property Value

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

Remarks

If the CommandLineParser.Mode property is not ParsingMode.LongShort, or the HasShortName property is false, this property will always return an empty array.

See Also