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.0.0+bb7ed9a8fdfd1cb21824750a8cf508863ad15086
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