CommandLineArgumentIncludeDefaultInUsageHelp Property

Gets a value that indicates whether the default value should be included in the argument's description in the usage help.

Definition

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

Property Value

Boolean
if the default value should be shown in the usage help; otherwise, .

Remarks

This value is set by the CommandLineArgumentAttributeIncludeDefaultInUsageHelp property.

The default value will only be shown if the DefaultValue property is not , and if both this property and the UsageWriterIncludeDefaultValueInDescription property are .

See Also