summaryrefslogtreecommitdiff
path: root/man/ocamlc.m
diff options
context:
space:
mode:
authorGabriel Scherer <gabriel.scherer@gmail.com>2016-12-13 17:41:58 -0500
committerGabriel Scherer <gabriel.scherer@gmail.com>2017-02-24 21:55:13 -0500
commit6e47bace18cf21fd6f10aaa9e4c3289371faab2c (patch)
tree97564a18f10a90f79d17c937addf1b638d599ba7 /man/ocamlc.m
parentaff3bd3f21d5d3e755363aedd4b16b410e2e9bf1 (diff)
downloadocaml-6e47bace18cf21fd6f10aaa9e4c3289371faab2c.tar.gz
differentiate the ocamlc/ocamlopt -opaque manpage
Diffstat (limited to 'man/ocamlc.m')
-rw-r--r--man/ocamlc.m8
1 files changed, 5 insertions, 3 deletions
diff --git a/man/ocamlc.m b/man/ocamlc.m
index 77c4f7f81a..347772c331 100644
--- a/man/ocamlc.m
+++ b/man/ocamlc.m
@@ -500,9 +500,11 @@ cmo file, and also sets the module name to the file name up to the
first dot.
.TP
.B \-opaque
-Disables generation of cross\-module optimization information.
-This reduces necessary recompilation on module change and makes
-library .cmx files not mandatory.
+When producing a .cmi file, this option mark the module as opaque:
+dependencies compiled with ocamlopt will not look for cross\-module
+optimization information for it. See also the
+.B \-opaque
+option of the native-code compiler.
.TP
.BI \-open \ module
Opens the given module before processing the interface or