public class PluginBasedCommandHelpPrinter extends Object
Constructor and Description |
---|
PluginBasedCommandHelpPrinter() |
Modifier and Type | Method and Description |
---|---|
void |
printUsage(PluginBasedCommand command,
PrintStream stream)
Prints the text with usage information for the given command to the provided stream.
|
public void printUsage(PluginBasedCommand command, PrintStream stream)
This method divides command options into multiple categories: global options (common to all commands), common options for this command and options for every plugin-based subcommand.