aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/options.ml5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/options.ml b/lib/options.ml
index 135673a821..b90b22ee8f 100644
--- a/lib/options.ml
+++ b/lib/options.ml
@@ -26,7 +26,10 @@ let xml_export = ref false
let dont_load_proofs = ref false
-let v7 = ref true
+let v7 =
+ let f = Filename.basename Sys.argv.(0) in
+ ref (not (f = "coqtopnew.byte" or f = "coqtopnew.opt" or f = "coqtopnew"))
+
let v7_only = ref false
(* Translate *)