# Deprecated API

## Contents

- Enums
- Methods
- Constructors

Enums
org.kohsuke.args4j.ExampleMode: use `OptionHandlerFilter`

Methods
org.kohsuke.args4j.CmdLineParser.printExample​(ExampleMode): Use `CmdLineParser.printExample(OptionHandlerFilter)`
org.kohsuke.args4j.CmdLineParser.registerHandler​(Class, Class<? extends OptionHandler>): You should use `OptionHandlerRegistry.registerHandler(java.lang.Class, java.lang.Class)` instead.
org.kohsuke.args4j.CmdLineParser.setUsageWidth​(int): Use `ParserProperties.withUsageWidth(int)` instead.

Constructors
org.kohsuke.args4j.CmdLineException​(String): Use `CmdLineException(CmdLineParser, String)`
org.kohsuke.args4j.NamedOptionDef​(Option, boolean): multi-valuedness as option definition does not make sense. It's driven by the setter.