Download Latest Version Version 0.19.0.0 (3 June 2025) source code.tar.gz (70.6 kB)
Email in envelope

Get an email when there's a new version of optparse-applicative

Home / 0.18.0
Name Modified Size InfoDownloads / Week
Parent folder
optparse-applicative 0.18.0.tar.gz 2023-05-23 63.5 kB
optparse-applicative 0.18.0.zip 2023-05-23 84.7 kB
README.md 2023-05-23 764 Bytes
Totals: 3 Items   149.0 kB 0
  • Move to 'prettyprinter` library for pretty printing.

This is a potentially breaking change when one uses the '*Doc' family of functions (like headerDoc) from Options.Applicative. However, as versions of 'ansi-wl-pprint > 1.0' export a compatible Doc type, this can be mitigated by using a recent version.

One can also either import directly from Options.Applicative.Help or from the Prettyprinter module of 'prettyprinter'.

  • Allow commands to be disambiguated in a similar manner to flags when the disambiguate modifier is used.

This is a potentially breaking change as the internal CmdReader constructor has been adapted so it is able to be inspected to a greater degree to support finding prefix matches.

Source: README.md, updated 2023-05-23