aboutsummaryrefslogtreecommitdiffhomepage
path: root/toplevel/usage.ml
diff options
context:
space:
mode:
authorGravatar Gabriel Scherer <gabriel.scherer@gmail.com>2015-06-24 13:00:57 +0200
committerGravatar Pierre Letouzey <pierre.letouzey@inria.fr>2015-06-24 13:26:49 +0200
commitd3dabb87cace5a020bc11f6026a371b0cc86d7e9 (patch)
tree2c1553e6fde7730cd6196b1407c755d1e2c34874 /toplevel/usage.ml
parent9323803e8bd50d35df9bdf3062805f5245e06f9c (diff)
improve --help documentation: the -m|--memory option was missing
Diffstat (limited to 'toplevel/usage.ml')
-rw-r--r--toplevel/usage.ml8
1 files changed, 6 insertions, 2 deletions
diff --git a/toplevel/usage.ml b/toplevel/usage.ml
index 36ecc9fa5..f3f8dfd8a 100644
--- a/toplevel/usage.ml
+++ b/toplevel/usage.ml
@@ -52,7 +52,7 @@ let print_usage_channel co command =
\n proofs in each fi.vio\
\n\
\n -where print Coq's standard library location and exit\
-\n -config print Coq's configuration information and exit\
+\n -config, --config print Coq's configuration information and exit\
\n -v print Coq version and exit\
\n -list-tags print highlight color tags known by Coq and exit\
\n\
@@ -74,8 +74,12 @@ let print_usage_channel co command =
\n -indices-matter levels of indices (and nonuniform parameters) contribute to the level of inductives\
\n -type-in-type disable universe consistency checking\
\n -time display the time taken by each command\
+\n -m, --memory display total heap size at program exit\
+\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 -h, -help print this list of options\
+\n -h, -help, --help print this list of options\
\n";
List.iter (fun (name, text) ->
output_string co