Skip to content

Commit

Permalink
Source maps: fix documentation of command line arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
vouillon committed Oct 21, 2024
1 parent 4206f85 commit a4e7b05
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions compiler/bin-wasm_of_ocaml/cmd_arg.ml
Original file line number Diff line number Diff line change
Expand Up @@ -175,11 +175,13 @@ let options_runtime_only =
Arg.(required & opt (some string) None & info [ "o" ] ~docv:"FILE" ~doc)
in
let no_sourcemap =
let doc = "Currently ignored (for compatibility with Js_of_ocaml)." in
let doc =
"Don't generate source map. All other source map related flags will be be ignored."
in
Arg.(value & flag & info [ "no-sourcemap"; "no-source-map" ] ~doc)
in
let sourcemap =
let doc = "Currently ignored (for compatibility with Js_of_ocaml)." in
let doc = "Generate source map." in
Arg.(value & flag & info [ "sourcemap"; "source-map"; "source-map-inline" ] ~doc)
in
let sourcemap_don't_inline_content =
Expand Down

0 comments on commit a4e7b05

Please sign in to comment.