UsageWriterSyntaxIndent 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.

Definition

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

Property Value

Int32
The number of characters by which to indent the usage syntax. The default value is the value of the DefaultSyntaxIndent constant.

Remarks

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

This value is used by the base implementation of the WriteParserUsageSyntax class, unless the ShouldIndent property is .

See Also