package extlib

  1. Overview
  2. Docs
exception Option_conflict of string
type t
type group
val make : ?usage:string -> ?description:string -> ?version:string -> ?suppress_usage:bool -> ?suppress_help:bool -> ?prog:string -> ?formatter:Formatter.t -> unit -> t
val add : t -> ?group:group -> ?help:string -> ?hide:bool -> ?short_name:char -> ?short_names:char list -> ?long_name:string -> ?long_names:string list -> 'a Opt.t -> unit
val add_group : t -> ?parent:group -> ?description:string -> string -> group
val error : t -> ?chn:Pervasives.out_channel -> ?status:int -> string -> 'a
val usage : t -> ?chn:Pervasives.out_channel -> unit -> unit
val parse : t -> ?first:int -> ?last:int -> string array -> string list
val parse_argv : t -> string list
OCaml

Innovation. Community. Security.