CliSettings.EnablePosixBundling Property
Definition
- Namespace
- DotMake.CommandLine
- Assembly
- DotMake.CommandLine.dll
Enables the parser to recognize and expand POSIX-style bundled options.
Default is true.
public bool EnablePosixBundling { get; set; }
Property Value
Remarks
POSIX conventions recommend that single-character options be allowed to be specified together after a single - prefix. When EnablePosixBundling is set to true, the following command lines are equivalent:
> 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 true, all of the following command lines are equivalent:
> myapp -a -b -c arg
> myapp -abc arg
> myapp -abcarg