Click or drag to resize

WriteUsageOptionsUseWhiteSpaceValueSeparator Property

Gets or sets a value indicating whether white space, rather than a colon, is used to separate named arguments and their values in the command line syntax.

Namespace:  Ookii.CommandLine
Assembly:  Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 2.3.0
Syntax
public bool UseWhiteSpaceValueSeparator { get; set; }

Property Value

Type: Boolean
if the command line syntax uses a white space value separator; if it uses a colon. 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.

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

See Also