Skip to content

Commit a4e7b05

Browse files
committed
Source maps: fix documentation of command line arguments
1 parent 4206f85 commit a4e7b05

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

compiler/bin-wasm_of_ocaml/cmd_arg.ml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,11 +175,13 @@ let options_runtime_only =
175175
Arg.(required & opt (some string) None & info [ "o" ] ~docv:"FILE" ~doc)
176176
in
177177
let no_sourcemap =
178-
let doc = "Currently ignored (for compatibility with Js_of_ocaml)." in
178+
let doc =
179+
"Don't generate source map. All other source map related flags will be be ignored."
180+
in
179181
Arg.(value & flag & info [ "no-sourcemap"; "no-source-map" ] ~doc)
180182
in
181183
let sourcemap =
182-
let doc = "Currently ignored (for compatibility with Js_of_ocaml)." in
184+
let doc = "Generate source map." in
183185
Arg.(value & flag & info [ "sourcemap"; "source-map"; "source-map-inline" ] ~doc)
184186
in
185187
let sourcemap_don't_inline_content =

0 commit comments

Comments
 (0)