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.0.0+bb7ed9a8fdfd1cb21824750a8cf508863ad15086
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