CommandLineParserGetShortArgument Method

Gets a command line argument by short name or alias.

Definition

Namespace: Ookii.CommandLine
Assembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 4.0.0+bb7ed9a8fdfd1cb21824750a8cf508863ad15086
C#
public CommandLineArgument? GetShortArgument(
	char shortName
)

Parameters

shortName  Char
The short name of the argument.

Return Value

CommandLineArgument
The CommandLineArgument instance containing information about the argument, or if the argument was not found.

Remarks

If Mode is not ParsingModeLongShort, this method always returns

See Also