UsageWriterIncludeApplicationDescriptionBeforeCommandList Property

Gets or sets a value that indicates whether to show the application description before the command list in the usage help.

Definition

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

Property Value

Boolean
to show the description; otherwise, . The default value is .

Remarks

The description to show is taken from the AssemblyDescriptionAttribute of the first assembly passed to the CommandManager class. If the assembly has no description, nothing is written.

If the CommandOptionsParentCommand property is not , and the specified type has a DescriptionAttribute, that description is used instead.

To use a custom description, set this property to , and override the WriteApplicationDescription(String) method.

See Also