Click or drag to resize

WriteUsageOptionsIndent Property

Gets or sets the number of characters by which to indent all except the first line of the command line syntax of the usage help.

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

Property Value

Type: Int32
The number of characters by which to indent all except the first line of the command line usage. The default value is 3.
Remarks

The command line syntax is a single line that consists of the usage prefix UsagePrefix followed by the syntax of all the arguments. This indentation is used when that line exceeds the maximum line length.

This value is not used if the maximum line length of the LineWrappingTextWriter to which the usage is being written is less than 30.

See Also