Apache Commons logo Apache Commons CLI

Release notes

These are the release notes for Commons CLI 1.4.


This document contains the release notes for this version of the Commons CLI
package. Commons CLI provides a simple API for working with the command line
arguments and options.

Commons CLI 1.4 is a feature release and binary compatible with the
previous versions, except for the OptionValidator class that is no longer public
(change introduced in v1.2). Commons CLI 1.4 at least requires Java 5.0.

More information can be found on the project site at


o CLI-269: Introduce CommandLine.Builder
o CLI-267: Add an addRequiredOption method to Options.
           Thanks to Ricardo Ribeiro.


o CLI-265: Optional argument picking up next regular option as its argument.
           Thanks to Martin Sandiford.
o CLI-266: HelpFormatter.setOptionComparator(null) doesn't display the values
           in inserted order. Thanks to Ravi Teja.