Package org.eclipse.jgit.pgm
Class Main.SubcommandLineParser
- java.lang.Object
-
- org.kohsuke.args4j.CmdLineParser
-
- org.eclipse.jgit.pgm.opt.CmdLineParser
-
- org.eclipse.jgit.pgm.Main.SubcommandLineParser
-
- Enclosing class:
- Main
static class Main.SubcommandLineParser extends CmdLineParser
Parser for subcommands which doesn't stop parsing on help options and so proceeds all specified options
-
-
Constructor Summary
Constructors Constructor Description SubcommandLineParser(java.lang.Object bean)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
containsHelp(java.lang.String... args)
Check if array contains help option-
Methods inherited from class org.eclipse.jgit.pgm.opt.CmdLineParser
createOptionHandler, getRepository, getRevWalk, getRevWalkGently, parseArgument, printSingleLineUsage
-
Methods inherited from class org.kohsuke.args4j.CmdLineParser
addArgument, addOption, getArguments, getOptions, getProperties, isOption, parseArgument, printExample, printExample, printExample, printExample, printOption, printSingleLineUsage, printUsage, printUsage, printUsage, registerHandler, setUsageWidth, stopOptionParsing
-
-
-
-
Method Detail
-
containsHelp
protected boolean containsHelp(java.lang.String... args)
Description copied from class:CmdLineParser
Check if array contains help option- Overrides:
containsHelp
in classCmdLineParser
- Parameters:
args
- non null- Returns:
- true if the given array contains help option
-
-