INRIA's original command-line parsing library.
The Command
module is generally recommended over direct use of this library.
include module type of Caml.Arg
type spec
= Arg.spec
=
| Unit of unit ‑> unit |
| Bool of bool ‑> unit |
| Set of bool Pervasives.ref |
| Clear of bool Pervasives.ref |
| String of string ‑> unit |
| Set_string of string Pervasives.ref |
| Int of int ‑> unit |
| Set_int of int Pervasives.ref |
| Float of float ‑> unit |
| Set_float of float Pervasives.ref |
| Tuple of spec list |
| Symbol of string list * string ‑> unit |
| Rest of string ‑> unit |
| Expand of string ‑> string array |
val sort_and_align : (key * spec * doc) Core_kernel__.Import.list ‑> (key * spec * doc) Core_kernel__.Import.list
Like align
, except that the specification list is also sorted by key