Class HelpArgumentAction

java.lang.Object
net.sourceforge.argparse4j.impl.action.HelpArgumentAction
All Implemented Interfaces:
ArgumentAction

public class HelpArgumentAction extends Object implements ArgumentAction

Argument action to print help message and exit program.

Please note that this run(ArgumentParser, Argument, Map, String, Object) always throws a HelpScreenException exception after printing the help message. consumeArgument() always returns false.

  • Constructor Details

    • HelpArgumentAction

      public HelpArgumentAction()
  • Method Details