CliNamePrefixConvention Enumeration

Defines the prefix conventions to use for option names and aliases.

Definition

Namespace: DotMake.CommandLine
Assembly: DotMake.CommandLine (in DotMake.CommandLine.dll) Version: 1.8.8
C#
public enum CliNamePrefixConvention

Members

SingleHyphen0 Option name is prefixed with one hyphen (-) which is POSIX prefix convention, usually used for short form option aliases (e.g. -o or -option).
DoubleHyphen1 Option name is prefixed with two hyphens (--) which is POSIX prefix convention, usually used for long form option names (e.g. --option).
ForwardSlash2 Option name is prefixed with a forward slash (/) which is Windows prefix convention (e.g. /o or /option).

See Also