CommandLineParserGetShortArgument Method

Gets a command line argument by short name.

Definition

Namespace: Ookii.CommandLine
Assembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 3.1.1
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 LongShort, this method always returns

See Also