Skip to content

Commit 6ea00bc

Browse files
committed
Compiler: small file rename
1 parent 0ab3504 commit 6ea00bc

File tree

10 files changed

+9
-9
lines changed

10 files changed

+9
-9
lines changed

compiler/bin-js_of_ocaml/build_runtime.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@ let info =
2828
to run pure OCaml programs in JavaScript environments like web browsers and \
2929
Node.js."
3030

31-
let command = Cmdliner.Term.(pure Compile.run $ Arg.options_runtime_only), info
31+
let command = Cmdliner.Term.(pure Compile.run $ Cmd_arg.options_runtime_only), info
File renamed without changes.
File renamed without changes.

compiler/bin-js_of_ocaml/compile.ml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ let gen_unit_filename dir u =
2929
Filename.concat dir (Printf.sprintf "%s.js" u.Cmo_format.cu_name)
3030

3131
let run
32-
{ Arg.common
32+
{ Cmd_arg.common
3333
; profile
3434
; source_map
3535
; runtime_files
@@ -294,6 +294,6 @@ let info name =
294294
to run pure OCaml programs in JavaScript environments like web browsers and \
295295
Node.js."
296296

297-
let command_main = Cmdliner.Term.(pure run $ Arg.options), info "js_of_ocaml"
297+
let command_main = Cmdliner.Term.(pure run $ Cmd_arg.options), info "js_of_ocaml"
298298

299-
let command = Cmdliner.Term.(pure run $ Arg.options), info "compile"
299+
let command = Cmdliner.Term.(pure run $ Cmd_arg.options), info "compile"

compiler/bin-js_of_ocaml/compile.mli

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
1717
*)
1818

19-
val run : Arg.t -> unit
19+
val run : Cmd_arg.t -> unit
2020

2121
val command : unit Cmdliner.Term.t * Cmdliner.Term.info
2222

File renamed without changes.

compiler/bin-jsoo_link/jsoo_link.ml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
open! Js_of_ocaml_compiler.Stdlib
2121
open Js_of_ocaml_compiler
2222

23-
let f { Arg.output_file; source_map; resolve_sourcemap_url; js_files } =
23+
let f { Cmd_arg.output_file; source_map; resolve_sourcemap_url; js_files } =
2424
let with_output f =
2525
match output_file with
2626
| None -> f stdout
@@ -29,7 +29,7 @@ let f { Arg.output_file; source_map; resolve_sourcemap_url; js_files } =
2929
with_output (fun output ->
3030
Link_js.link ~output ~files:js_files ~source_map ~resolve_sourcemap_url)
3131

32-
let main = Cmdliner.Term.(pure f $ Arg.options), Arg.info
32+
let main = Cmdliner.Term.(pure f $ Cmd_arg.options), Cmd_arg.info
3333

3434
let _ =
3535
Timer.init Sys.time;
File renamed without changes.
File renamed without changes.

compiler/bin-jsoo_minify/jsoo_minify.ml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ let error k = Format.ksprintf (fun s -> failwith s) k
2424

2525
let _ = Sys.catch_break true
2626

27-
let f { Arg.common; output_file; use_stdin; files } =
27+
let f { Cmd_arg.common; output_file; use_stdin; files } =
2828
Jsoo_cmdline.Arg.eval common;
2929
let chop_extension s = try Filename.chop_extension s with Invalid_argument _ -> s in
3030
let with_output f =
@@ -92,7 +92,7 @@ let f { Arg.common; output_file; use_stdin; files } =
9292
let pp = Pretty_print.to_out_channel out_channel in
9393
gen pp)
9494

95-
let main = Cmdliner.Term.(pure f $ Arg.options), Arg.info
95+
let main = Cmdliner.Term.(pure f $ Cmd_arg.options), Cmd_arg.info
9696

9797
let _ =
9898
Timer.init Sys.time;

0 commit comments

Comments
 (0)