Package com.zendesk.maxwell.util
Class MaxwellOptionParser
- java.lang.Object
-
- joptsimple.OptionParser
-
- com.zendesk.maxwell.util.MaxwellOptionParser
-
- All Implemented Interfaces:
joptsimple.OptionDeclarer
public class MaxwellOptionParser extends joptsimple.OptionParser
-
-
Constructor Summary
Constructors Constructor Description MaxwellOptionParser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description joptsimple.OptionSpecBuilder
accepts(String option, String description)
void
addToSection(String optionName)
void
printHelpOn(PrintStream err, String section)
void
section(String section)
void
separator()
-
-
-
Method Detail
-
addToSection
public void addToSection(String optionName)
-
accepts
public joptsimple.OptionSpecBuilder accepts(String option, String description)
- Specified by:
accepts
in interfacejoptsimple.OptionDeclarer
- Overrides:
accepts
in classjoptsimple.OptionParser
-
separator
public void separator()
-
section
public void section(String section)
-
printHelpOn
public void printHelpOn(PrintStream err, String section) throws IOException
- Throws:
IOException
-
-