Cmdliner
[09-Jan-2013, version
0.9.3,
Beta]

Cmdliner is an OCaml module for the declarative definition of command line interfaces.
It provides a simple and compositional mechanism to convert command line arguments to OCaml values and pass them to your functions. The module automatically handles syntax errors, help messages and UNIX man page generation. It supports programs with single or multiple commands (like darcs or git) and respects most of the POSIX and GNU conventions.
Getopt
[09-Aug-2001, version
2000-08-04,
Beta]

Parsing of command line arguments (à la GNU GetOpt) for OCaml.
pa_arg
[31-Jul-2006, version
0.2.1,
Beta]


CAMLP4 syntax extension offering a special syntax for parsing command-line arguments.