module type Common_options = sig ... end
module type Compiler_options = sig ... end
module type Toplevel_options = sig ... end
module type Bytecomp_options = sig ... end
module type Bytetop_options = sig ... end
module type Optcommon_options = sig ... end
module type Optcomp_options = sig ... end
module type Opttop_options = sig ... end
module type Ocamldoc_options = sig ... end
module type Arg_list = sig ... end
module Make_bytecomp_options : functor (F : Bytecomp_options) -> Arg_list
module Make_bytetop_options : functor (F : Bytetop_options) -> Arg_list
module Make_optcomp_options : functor (F : Optcomp_options) -> Arg_list
module Make_opttop_options : functor (F : Opttop_options) -> Arg_list
module Make_ocamldoc_options : functor (F : Ocamldoc_options) -> Arg_list
val options_with_command_line_syntax : (string * Stdlib.Arg.spec * string) list -> string list Stdlib.ref -> (string * Stdlib.Arg.spec * string) list
options_with_command_line_syntax options r
returnsoptions2
that behaves likeoptions
, but additionally pushes command line argument onr
(quoted byFilename.quote
when necessary). This is meant for ocamlc,opt
p, which use this to forward most of their arguments to ocamlc,opt
.