summaryrefslogtreecommitdiff
path: root/scripts/coqc.ml
diff options
context:
space:
mode:
authorGravatar Samuel Mimram <samuel.mimram@ens-lyon.org>2005-01-31 14:34:14 +0000
committerGravatar Samuel Mimram <samuel.mimram@ens-lyon.org>2005-01-31 14:34:14 +0000
commit6497f27021fec4e01f2182014f2bb1989b4707f9 (patch)
tree473be7e63895a42966970ab6a70998113bc1bd59 /scripts/coqc.ml
parent6b649aba925b6f7462da07599fe67ebb12a3460e (diff)
Imported Upstream version 8.0pl2upstream/8.0pl2
Diffstat (limited to 'scripts/coqc.ml')
-rw-r--r--scripts/coqc.ml13
1 files changed, 10 insertions, 3 deletions
diff --git a/scripts/coqc.ml b/scripts/coqc.ml
index 7d1cc206..34025ec9 100644
--- a/scripts/coqc.ml
+++ b/scripts/coqc.ml
@@ -6,7 +6,7 @@
(* * GNU Lesser General Public License Version 2.1 *)
(************************************************************************)
-(* $Id: coqc.ml,v 1.25.2.1 2004/07/16 19:30:50 herbelin Exp $ *)
+(* $Id: coqc.ml,v 1.25.2.3 2004/09/04 10:34:56 herbelin Exp $ *)
(* Afin de rendre Coq plus portable, ce programme Caml remplace le script
coqc.
@@ -130,8 +130,15 @@ let parse_args () =
image := f; parse (cfiles,args) rem
| "-image" :: [] ->
usage ()
+ | "-libdir" :: _ :: rem ->
+ print_string "Warning: option -libdir deprecated\n"; flush stdout;
+ parse (cfiles,args) rem
+ | ("-db"|"-debugger") :: rem ->
+ print_string "Warning: option -db/-debugger deprecated\n";flush stdout;
+ parse (cfiles,args) rem
+
| ("-?"|"-h"|"-H"|"-help"|"--help") :: _ -> usage ()
- | ("-libdir"|"-I"|"-include"|"-outputstate"
+ | ("-I"|"-include"|"-outputstate"
|"-inputstate"|"-is"|"-load-vernac-source"|"-l"|"-load-vernac-object"
|"-load-ml-source"|"-require"|"-load-ml-object"|"-user"
|"-init-file"|"-dump-glob" as o) :: rem ->
@@ -141,7 +148,7 @@ let parse_args () =
| [] -> usage ()
end
| "-R" as o :: s :: t :: rem -> parse (cfiles,t::s::o::args) rem
- | ("-notactics"|"-debug"|"-db"|"-debugger"|"-nolib"|"-batch"|"-nois"
+ | ("-notactics"|"-debug"|"-nolib"|"-batch"|"-nois"
|"-q"|"-full"|"-profile"|"-just-parsing"|"-echo" |"-unsafe"|"-quiet"
|"-silent"|"-m"|"-xml"|"-v7"|"-v8"|"-translate"|"-strict-implicit"
|"-dont-load-proofs"|"-impredicative-set" as o) :: rem ->