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: 2.5.0
C#
public enum CliNamePrefixConvention

Members

None0 Option name is kept as it is (not prefixed).
SingleHyphen1 Option name is prefixed with one hyphen (-) which is POSIX prefix convention, usually used for short form option aliases (e.g. -o or -option).
DoubleHyphen2 Option name is prefixed with two hyphens (--) which is POSIX prefix convention, usually used for long form option names (e.g. --option).
ForwardSlash3 Option name is prefixed with a forward slash (/) which is Windows prefix convention (e.g. /o or /option).

See Also