UsageWriterUseWhiteSpaceValueSeparator Property

Gets or sets a value indicating whether white space, rather than the first element of the CommandLineParserNameValueSeparators property, is used to separate arguments and their values in the command line syntax.

Definition

Namespace: Ookii.CommandLine
Assembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 4.2.0+a4d3631e4dcc0970081ed435288efdebc1325f83
C#
public bool UseWhiteSpaceValueSeparator { get; set; }

Property Value

Boolean
if the command line syntax uses a white space value separator; if it uses the first element of the CommandLineParserNameValueSeparators property. The default value is .

Remarks

If this property is , an argument would be formatted in the command line syntax as "-Name <Value>" (using default formatting), with a white space character separating the argument name and value description. If this property is , it would be formatted as "-Name:<Value>", using a colon as the separator (when using the default separators).

The command line syntax will only use a white space character as the value separator if both the CommandLineParserAllowWhiteSpaceValueSeparator property and the UseWhiteSpaceValueSeparator property are .

See Also