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
Syntaxpublic int Indent { get; set; }
Public Property Indent As Integer
Get
Set
Dim instance As WriteUsageOptions
Dim value As Integer
value = instance.Indent
instance.Indent = value
public:
property int Indent {
int get ();
void set (int value);
}
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