aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/coqdep.ml
diff options
context:
space:
mode:
authorGravatar Pierre Courtieu <Pierre.Courtieu@cnam.fr>2015-11-26 15:56:47 +0100
committerGravatar Maxime Dénès <mail@maximedenes.fr>2016-01-15 17:26:48 +0100
commit65b45fe6e86cc8b642069e33c3b7073f48b592a9 (patch)
treeb45efba9259f8fdecd831fd776e9caf5928ff8db /tools/coqdep.ml
parent4b4a4b6b41e6b303d556638ed2a79b1493b1ecf4 (diff)
Partially fixing #4408: coqdep --help is up to date.
Diffstat (limited to 'tools/coqdep.ml')
-rw-r--r--tools/coqdep.ml23
1 files changed, 18 insertions, 5 deletions
diff --git a/tools/coqdep.ml b/tools/coqdep.ml
index e0e017e88..e51572fc3 100644
--- a/tools/coqdep.ml
+++ b/tools/coqdep.ml
@@ -426,12 +426,25 @@ let coq_dependencies_dump chan dumpboxes =
end
let usage () =
- eprintf " usage: coqdep [-w] [-c] [-D] [-I dir] [-Q dir coqdir] [-R dir coqdir] <filename>+\n";
- eprintf " extra options:\n";
- eprintf " -sort : output the file names ordered by dependencies\n";
- eprintf " -coqlib dir : set the coq standard library directory\n";
- eprintf " -exclude-dir f : skip subdirectories named 'f' during -R search\n";
+ eprintf " usage: coqdep [options] <filename>+\n";
+ eprintf " options:\n";
+ eprintf " -c : \n";
+ eprintf " -D : \n";
+ eprintf " -w : \n";
+ eprintf " -boot : \n";
+ eprintf " -sort : output the given file name ordered by dependencies\n";
+ eprintf " -noglob | -no-glob : \n";
+ eprintf " -I dir -as logname : adds (non recursively) dir to coq load path under logical name logname\n";
+ eprintf " -I dir : adds (non recursively) dir to ocaml path\n";
+ eprintf " -R dir -as logname : add and import dir recursively to coq load path under logical name logname\n"; (* deprecate? *)
+ eprintf " -R dir logname : add and import dir recursively to coq load path under logical name logname\n";
+ eprintf " -Q dir logname : add (recusively) and open (non recursively) dir to coq load path under logical name logname\n";
eprintf " -dumpgraph f : print a dot dependency graph in file 'f'\n";
+ eprintf " -dumpgraphbox f : print a dot dependency graph box in file 'f'\n";
+ eprintf " -exclude-dir dir : skip subdirectories named 'dir' during -R search\n";
+ eprintf " -coqlib dir : set the coq standard library directory\n";
+ eprintf " -suffix s : \n";
+ eprintf " -slash : deprecated, no effect\n";
exit 1
let split_period = Str.split (Str.regexp (Str.quote "."))