CliCommandAttributeShortFormPrefixConvention Property

Gets or sets the prefix convention to use for automatically generated short form option aliases. Short forms typically have a leading delimiter followed by a single character (e.g. -o or --o or /o). This setting will be inherited by child options and subcommands. This setting can be overriden by a subcommand in the inheritance chain.

Default is SingleHyphen (e.g. -o).

Definition

Namespace: DotMake.CommandLine
Assembly: DotMake.CommandLine (in DotMake.CommandLine.dll) Version: 1.8.8
C#
public CliNamePrefixConvention ShortFormPrefixConvention { get; set; }

Property Value

CliNamePrefixConvention

See Also