CreateShellCommandOptionsCommandUsageFormat Property |
Gets or sets the format string to use for the usage help if no command name was supplied or the command name was not recognized.
Namespace:
Ookii.CommandLine
Assembly:
Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 2.3.0
Syntaxpublic string CommandUsageFormat { get; set; }
Public Property CommandUsageFormat As String
Get
Set
Dim instance As CreateShellCommandOptions
Dim value As String
value = instance.CommandUsageFormat
instance.CommandUsageFormat = value
public:
property String^ CommandUsageFormat {
String^ get ();
void set (String^ value);
}
Property Value
Type:
String
The format string to use for the usage if no command was specified or the command name was not recognized. The default value is "{0} <command> [args...]".
Remarks
This format string shoud have one placeholder, which is used for the value of the UsagePrefix property.
See Also