Package org.harctoolbox.cmdline
Class CommandHelp
java.lang.Object
org.harctoolbox.cmdline.AbstractCommand
org.harctoolbox.cmdline.CommandHelp
-
Field Summary
Fields inherited from class org.harctoolbox.cmdline.AbstractCommand
helpRequested
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns a possibly longer documentation of the command.void
help
(PrintStream out, AbstractCommand commonCommand, com.beust.jcommander.JCommander argumentParser, String url) static void
usage
(PrintStream printStream, String command, com.beust.jcommander.JCommander argumentParser) Methods inherited from class org.harctoolbox.cmdline.AbstractCommand
process
-
Constructor Details
-
CommandHelp
public CommandHelp()
-
-
Method Details
-
usage
public static void usage(PrintStream printStream, String command, com.beust.jcommander.JCommander argumentParser) -
help
public void help(PrintStream out, AbstractCommand commonCommand, com.beust.jcommander.JCommander argumentParser, String url) -
description
Description copied from class:AbstractCommand
Returns a possibly longer documentation of the command.- Overrides:
description
in classAbstractCommand
- Returns:
- Documentation string;
-