Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
ParserConfiguration.EnablePosixBundling Property
Definition
- Namespace:
- System.CommandLine
- Assembly:
- System.CommandLine.dll
- Package:
- System.CommandLine v3.0.0-preview.5.26302.115
- Source:
- ParserConfiguration.cs
- Source:
- ParserConfiguration.cs
Important
Some information relates to prerelease product that may be substantially modified before itβs released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a value that indicates whether the parser recognizes and expands POSIX-style bundled options.
public:
property bool EnablePosixBundling { bool get(); void set(bool value); };
public bool EnablePosixBundling { get; set; }
member this.EnablePosixBundling : bool with get, set
Public Property EnablePosixBundling As Boolean
Property Value
true to parse POSIX bundles; otherwise, false.
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
Applies to
Feedback
Was this page helpful?
