Click or drag to resize

WriteUsageOptionsUsagePrefix Property

Gets or sets the prefix to use for the argument syntax; typically this contains the executable name.

Namespace:  Ookii.CommandLine
Assembly:  Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 2.3.0
Syntax
public string UsagePrefix { get; set; }

Property Value

Type: String
The prefix to use for the argument syntax; typically this contains the executable name. The default value is "Usage: " followed by the file name of the application's entry point assembly.
Remarks

The usage prefix is written before the command line syntax of the usage help, and is followed by the syntax of the individual arguments.

Setting this property to will revert it to its default value.

See Also