UsageWriterIncludeDefaultValueInDescription Property

Gets or sets a value indicating whether the default value of an argument should be included in the argument description.

Definition

Namespace: Ookii.CommandLine
Assembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 4.0.0+bb7ed9a8fdfd1cb21824750a8cf508863ad15086
C#
public bool IncludeDefaultValueInDescription { get; set; }

Property Value

Boolean
if the default value should be included in the description; otherwise, . The default value is .

Remarks

For arguments with a default value of , this property has no effect.

To exclude the default value for a particular argument only, use the CommandLineArgumentAttributeIncludeDefaultInUsageHelp property.

See Also