CliSettingsEnablePosixBundling Property

Enables the parser to recognize and expand POSIX-style bundled options.

Default is .

Definition

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

Property Value

Boolean

Remarks

POSIX conventions recommend that single-character options be allowed to be specified together after a single - prefix. When EnablePosixBundling is set to , the following command lines are equivalent:
C#
> myapp -a -b -c
> myapp -abc
If an argument is provided after an option bundle, it applies to the last option in the bundle. When EnablePosixBundling is set to , all of the following command lines are equivalent:
C#
> myapp -a -b -c arg
> myapp -abc arg
> myapp -abcarg

See Also