aboutsummaryrefslogtreecommitdiff
path: root/toplevel/usage.ml
diff options
context:
space:
mode:
authorMaxime Dénès2018-10-31 11:45:09 +0100
committerMaxime Dénès2018-11-05 10:36:22 +0100
commite2e7fea91f3af5dcf62052078da65489b796e9e2 (patch)
treed44da683ff0159a6a722600777acb555732fb66e /toplevel/usage.ml
parenteb842684456c5a965507c83e7b169ae0d0f6cc90 (diff)
Pass native and VM flags to the kernel through environment
The kernel no longer has to read the configure flag, its value can now be overriden by a coqtop/coqc argument, and more generally is easier to set from a toplevel (such as the checker). We also add a `-bytecode-compiler` flag. Fixes #4607
Diffstat (limited to 'toplevel/usage.ml')
-rw-r--r--toplevel/usage.ml3
1 files changed, 2 insertions, 1 deletions
diff --git a/toplevel/usage.ml b/toplevel/usage.ml
index d85fed5f43..c2437836f3 100644
--- a/toplevel/usage.ml
+++ b/toplevel/usage.ml
@@ -87,7 +87,8 @@ let print_usage_channel co command =
\n (use environment variable\
\n OCAML_GC_STATS=\"/tmp/gclog.txt\"\
\n for full Gc stats dump)\
-\n -native-compiler precompile files for the native_compute machinery\
+\n -bytecode-compiler (yes|no) controls the vm_compute machinery\
+\n -native-compiler (yes|no|ondemand) controls the native_compute machinery\
\n -h, -help, --help print this list of options\
\n";
List.iter (fun (name, text) ->