UsageWriterIndentAfterEmptyLine Property

Gets or sets a value which indicates whether a line after an empty line should have indentation.

Definition

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

Property Value

Boolean
if a line after an empty line should be indented; otherwise, . The default value is .

Remarks

By default, the UsageWriter class will start lines that follow an empty line at the beginning of the line, regardless of the value of the SyntaxIndent, ArgumentDescriptionIndent, or CommandDescriptionIndent property. Set this property to to apply indentation even to lines following an empty line.

This can be useful if you have argument descriptions that contain blank lines when argument descriptions are indented, such as in the default format.

See Also