Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
type cmdline_options = arg_spec_full list
type options_with_title = string * string * arg_spec_full list
type cmdline_sections = options_with_title list
val parse_options :
cmdline_options ->
Stdlib.Arg.usage_msg ->
string array ->
string list
val usage : Stdlib.Arg.usage_msg -> cmdline_options -> unit
val short_usage : Stdlib.Arg.usage_msg -> short_opt:cmdline_options -> unit
val long_usage :
Stdlib.Arg.usage_msg ->
short_opt:cmdline_options ->
long_opt:cmdline_sections ->
unit
val arg_align2 : cmdline_options -> cmdline_options
val arg_parse2 :
cmdline_options ->
Stdlib.Arg.usage_msg ->
(unit -> unit) ->
string list
type action_spec = Stdlib.Arg.key * Stdlib.Arg.doc * action_func
type cmdline_actions = action_spec list
val mk_action_0_arg : (unit -> unit) -> action_func
val mk_action_1_arg : (string -> unit) -> action_func
val mk_action_2_arg : (string -> string -> unit) -> action_func
val mk_action_3_arg : (string -> string -> string -> unit) -> action_func
val mk_action_4_arg :
(string -> string -> string -> string -> unit) ->
action_func
val mk_action_n_arg : (string list -> unit) -> action_func
val options_of_actions :
string Stdlib.ref ->
cmdline_actions ->
cmdline_options
val do_action : Stdlib.Arg.key -> string list -> cmdline_actions -> unit
val action_list : cmdline_actions -> Stdlib.Arg.key list