LocalizedStringProviderAutomaticHelpShortName Method

Gets the short name of the help argument created if the ParseOptionsAutoHelpArgument property is , typically '?'.

Definition

Namespace: Ookii.CommandLine
Assembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 4.2.0+a4d3631e4dcc0970081ed435288efdebc1325f83
C#
public virtual char AutomaticHelpShortName()

Return Value

Char
The string.

Remarks

The argument will automatically have a short alias that is the lower case first character of the value returned by AutomaticHelpName. If the character returned by this method is the same as that character according to the ArgumentNameComparison property, then no alias is added.

If CommandLineParserMode is not ParsingModeLongShort, the short name and the short alias will be used as a regular aliases instead.

See Also