Class Help


public final class Help extends AbstractHelp
The help output for the command line client.
  • Constructor Details

    • Help

      public Help(Writer writer)
      Creates a Help instance to write to the specified writer.
      Parameters:
      writer - the writer to write to.
    • Help

      public Help(PrintStream stream)
      Creates a Help instance to print to the specified stream.
      Parameters:
      stream - the PrintStream to write to.
  • Method Details

    • printUsage

      public void printUsage(org.apache.commons.cli.Options opts)
      Print the usage to the specific PrintWriter.
      Parameters:
      opts - The defined options.
    • printArgumentTypes

      public String printArgumentTypes()
      Prints the list of argument types to the writer.
      Returns:
      returns the padding for the arguments.