]> matita.cs.unibo.it Git - helm.git/commitdiff
New option -extract_ocaml to extract to ocaml files.
authorClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Mon, 4 Feb 2013 17:38:31 +0000 (17:38 +0000)
committerClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Mon, 4 Feb 2013 17:38:31 +0000 (17:38 +0000)
matita/matita/matitaInit.ml

index 7658e7ab885660e5edd93a29a98730bf7c03e510..2c2a818a27fa125be81cd7ccbc21730c55823150 100644 (file)
@@ -199,6 +199,9 @@ let parse_cmdline init_status =
           (Printf.sprintf ("<filename> Read configuration from filename"
              ^^ "\n    Default: %s")
             BuildTimeConf.matita_conf);
+        "-extract_ocaml", 
+          Arg.Unit (fun () -> Helm_registry.set_bool "extract_ocaml" true),
+          "Extract ocaml code";
         "-force",
             Arg.Unit (fun () -> Helm_registry.set_bool "matita.force" true),
             ("Force actions that would not be executed per default");