Deprecated List (picocli 3.9.6 API)
Date: 2019-04-06

# Deprecated API

## Contents

- Deprecated Interfaces
- Deprecated Methods
- Deprecated Constructors
- Deprecated Annotation Type Elements

- Deprecated Interfaces
  Interface and Description
  picocli.CommandLine.IExceptionHandler Use `CommandLine.IExceptionHandler2` instead.
  picocli.CommandLine.IParseResultHandler Use `CommandLine.IParseResultHandler2` instead.

- Deprecated Methods
  Method and Description
  picocli.CommandLine.Help.addSubcommand(String, Object)
  picocli.CommandLine.Help.Ansi.Text.append(CommandLine.Help.Ansi.Text) use `#concat(Text)` instead
  picocli.CommandLine.Help.Ansi.Text.append(String) use `CommandLine.Help.Ansi.Text.concat(String)` instead
  picocli.CommandLine.Help.TextTable.cellAt(int, int) use `CommandLine.Help.TextTable.textAt(int, int)` instead
  picocli.CommandLine.Range.defaultArity(Class<?>) use `CommandLine.Range.defaultArity(Field)` instead
  picocli.CommandLine.Help.detailedSynopsis(Comparator<CommandLine.Model.OptionSpec>, boolean) use `CommandLine.Help.detailedSynopsis(int, Comparator, boolean)` instead.
  picocli.CommandLine.Model.OptionSpec.help() Use `CommandLine.Model.OptionSpec.usageHelp()` and `CommandLine.Model.OptionSpec.versionHelp()` instead.
  picocli.CommandLine.Model.OptionSpec.Builder.help() Use `CommandLine.Model.OptionSpec.Builder.usageHelp()` and `CommandLine.Model.OptionSpec.Builder.versionHelp()` instead.
  picocli.CommandLine.parseWithHandler(CommandLine.IParseResultHandler, PrintStream, String...) use `CommandLine.parseWithHandler(IParseResultHandler2, String[])` instead
  picocli.CommandLine.parseWithHandlers(CommandLine.IParseResultHandler, PrintStream, CommandLine.Help.Ansi, CommandLine.IExceptionHandler, String...) use `CommandLine.parseWithHandlers(IParseResultHandler2, IExceptionHandler2, String...)` instead
  picocli.CommandLine.printHelpIfRequested(List<CommandLine>, PrintStream, CommandLine.Help.Ansi) use `CommandLine.printHelpIfRequested(List, PrintStream, PrintStream, Help.Ansi)` instead
  picocli.CommandLine.Model.ArgSpec.setValue(T, CommandLine) use `CommandLine.Model.ArgSpec.setValue(Object)` instead. This was a design mistake.
  picocli.CommandLine.Help.synopsis() use `CommandLine.Help.synopsis(int)` instead

- Deprecated Constructors
  Constructor and Description
  picocli.CommandLine.Help(Object, CommandLine.Help.ColorScheme) use `picocli.CommandLine.Help#Help(picocli.CommandLine.Model.CommandSpec, picocli.CommandLine.Help.ColorScheme)`

- Deprecated Annotation Type Elements
  Annotation Type Element and Description
  picocli.CommandLine.Option.help Use `CommandLine.Option.usageHelp()` and `CommandLine.Option.versionHelp()` instead. See `CommandLine.printHelpIfRequested(List, PrintStream, CommandLine.Help.Ansi)`