jargs.examples.gnu
Class AutoHelpParser
java.lang.Object
jargs.gnu.CmdLineParser
jargs.examples.gnu.AutoHelpParser
public class AutoHelpParser
- extends CmdLineParser
This example shows how to dynamically create basic output for a --help option.
Methods inherited from class jargs.gnu.CmdLineParser |
addBooleanOption, addBooleanOption, addDoubleOption, addDoubleOption, addIntegerOption, addIntegerOption, addLongOption, addLongOption, addOption, addStringOption, addStringOption, getOptionValue, getOptionValue, getOptionValues, getRemainingArgs, parse, parse |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AutoHelpParser
public AutoHelpParser()
addHelp
public CmdLineParser.Option addHelp(CmdLineParser.Option option,
String helpString)
printUsage
public void printUsage()
main
public static void main(String[] args)
Copyright © 2001-2003 Steve Purcell. Copyright © 2002 Vidar Holen. Copyright © 2002 Michal Ceresna. Copyright © 2005 Ewan Mellor. Released under the terms of the BSD licence.