aboutsummaryrefslogtreecommitdiff
path: root/tools/coqdep.ml
diff options
context:
space:
mode:
authorEmilio Jesus Gallego Arias2018-09-27 02:33:10 +0200
committerEmilio Jesus Gallego Arias2018-10-01 05:00:01 +0200
commit9d3a2d042500094befe4b88f3aa73693bc287ed9 (patch)
treea35b05af58af9143a2ef84ffd5b4f63679d3f90a /tools/coqdep.ml
parent4de95593380294b3d2c4f10f346aaf9bb5d4d6eb (diff)
[lib] [flags] Move coqlib handling out of `Flags`
The relevant logic is already in `Envars`, so it makes sense to make it private and don't expose the low-level implementation of the logic.
Diffstat (limited to 'tools/coqdep.ml')
-rw-r--r--tools/coqdep.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/coqdep.ml b/tools/coqdep.ml
index 7db0b28908..ba88069be9 100644
--- a/tools/coqdep.ml
+++ b/tools/coqdep.ml
@@ -496,7 +496,7 @@ let rec parse = function
| "-dumpgraphbox" :: f :: ll -> option_dump := Some (true, f); parse ll
| "-exclude-dir" :: r :: ll -> System.exclude_directory r; parse ll
| "-exclude-dir" :: [] -> usage ()
- | "-coqlib" :: r :: ll -> Flags.coqlib_spec := true; Flags.coqlib := r; parse ll
+ | "-coqlib" :: r :: ll -> Envars.set_user_coqlib r; parse ll
| "-coqlib" :: [] -> usage ()
| "-suffix" :: s :: ll -> suffixe := s ; parse ll
| "-suffix" :: [] -> usage ()