X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fmatita.ml;h=609a014d0f3b573ac9b152ca9816fb880668911a;hb=7bbac9e5441f5fc78a30e03ca26ec2a21f5e8286;hp=a70063f5fe19508501f0609ab22d7da6927e4078;hpb=872dbd15c8f6d10c2b9b46ad6f995bf494c23e65;p=helm.git diff --git a/matita/matita.ml b/matita/matita.ml index a70063f5f..609a014d0 100644 --- a/matita/matita.ml +++ b/matita/matita.ml @@ -32,7 +32,14 @@ open GrafiteTypes (** {2 Initialization} *) -let _ = MatitaInit.initialize_all () +let _ = + MatitaInit.add_cmdline_spec + ["-tptppath",Arg.String + (fun s -> Helm_registry.set_string "matita.tptppath" s), + "Where to find the Axioms/ and Problems/ directory"]; + MatitaInit.initialize_all () +;; + (* let _ = Saturation.init () (* ALB to link paramodulation *) *) (** {2 GUI callbacks} *) @@ -139,8 +146,11 @@ let _ = let moo = grafite_status.moo_content_rev in List.iter (fun cmd -> - prerr_endline (GrafiteAstPp.pp_command ~obj_pp:(fun _ -> assert false) - cmd)) + prerr_endline + (GrafiteAstPp.pp_command + ~term_pp:(fun _ -> assert false) + ~obj_pp:(fun _ -> assert false) + cmd)) (List.rev moo)); addDebugItem "print metasenv goals and stack to stderr" (fun _ ->