aboutsummaryrefslogtreecommitdiff
path: root/checker
diff options
context:
space:
mode:
Diffstat (limited to 'checker')
-rw-r--r--checker/checker.ml9
1 files changed, 5 insertions, 4 deletions
diff --git a/checker/checker.ml b/checker/checker.ml
index af8d1e5617..4dac02210b 100644
--- a/checker/checker.ml
+++ b/checker/checker.ml
@@ -189,6 +189,7 @@ let print_usage_channel co command =
\n -admit module load module and dependencies without checking\
\n -norec module check module but admit dependencies without checking\
\n\
+\n -coqlib dir set coqchk's standard library location\
\n -where print coqchk's standard library location and exit\
\n -v print coqchk version and exit\
\n -boot boot mode\
@@ -350,9 +351,9 @@ let parse_args argv =
| "-debug" :: rem -> set_debug (); parse rem
| "-where" :: _ ->
- Envars.set_coqlib ~boot:!boot_opt ~fail:(fun x -> CErrors.user_err Pp.(str x));
- print_endline (Envars.coqlib ());
- exit 0
+ Envars.set_coqlib ~fail:(fun x -> CErrors.user_err Pp.(str x));
+ print_endline (Envars.coqlib ());
+ exit 0
| ("-?"|"-h"|"-H"|"-help"|"--help") :: _ -> usage ()
@@ -386,7 +387,7 @@ let init_with_argv argv =
try
parse_args argv;
if !Flags.debug then Printexc.record_backtrace true;
- Envars.set_coqlib ~boot:!boot_opt ~fail:(fun x -> CErrors.user_err Pp.(str x));
+ Envars.set_coqlib ~fail:(fun x -> CErrors.user_err Pp.(str x));
Flags.if_verbose print_header ();
init_load_path ();
make_senv ()