public void WriteUsage()
Public Sub WriteUsage
Dim instance As CommandManager
instance.WriteUsage()
public:
void WriteUsage()
This method writes usage help for the application, including a list of all subcommand names and their descriptions using the ParseOptionsUsageWriter property.
A command's name is retrieved from its CommandAttribute attribute, and the description is retrieved from its DescriptionAttribute attribute.
Commands that don't meet the criteria of the CommandOptionsCommandFilter predicate are not included.
If the CommandOptionsParentCommand property is , only commands without a ParentCommandAttribute attribute are included. If it is not , only commands where the type specified using the ParentCommandAttribute attribute matches the value of the property are included.
The automatic version command is included if the CommandOptionsAutoVersionCommand property is and the command name matches the name of the automatic version command, and not any other command name. The CommandOptionsCommandFilter and CommandOptionsParentCommand property also affect whether the version command is included.