X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fmatita%2FmatitacLib.ml;h=e7d3f18e6c7f9599cc02455454d13fcad72772a2;hb=80126b9687c69d4dff812c3a6b9469c42c4077b7;hp=9165d5a8b7e6ec659a142993cc678ab8d8a2376a;hpb=476120b3d6bbe1372281fc5ad1c3a72a4954b546;p=helm.git diff --git a/helm/matita/matitacLib.ml b/helm/matita/matitacLib.ml index 9165d5a8b..e7d3f18e6 100644 --- a/helm/matita/matitacLib.ml +++ b/helm/matita/matitacLib.ml @@ -88,7 +88,7 @@ let fname () = Arg.parse arg_spec add_script usage; match !acc with | [x] -> x - | _ -> prerr_endline usage; exit 1 + | _ -> print_endline usage; exit 1 let pp_ocaml_mode () = MatitaLog.message ""; @@ -137,9 +137,10 @@ let go () = CicNotation.load_notation BuildTimeConf.core_notation_script; Http_getter.init (); MetadataTypes.ownerize_tables (Helm_registry.get "matita.owner"); + MatitaDb.create_owner_environment (); CicEnvironment.set_trust (* environment trust *) (let trust = Helm_registry.get_bool "matita.environment_trust" in - fun _ -> trust) + fun _ -> trust); status := Some (ref (Lazy.force MatitaEngine.initial_status)); Sys.catch_break true; interactive_loop () @@ -159,7 +160,7 @@ let main ~mode = MatitaDb.create_owner_environment (); CicEnvironment.set_trust (* environment trust *) (let trust = Helm_registry.get_bool "matita.environment_trust" in - fun _ -> trust) + fun _ -> trust); status := Some (ref (Lazy.force MatitaEngine.initial_status)); Sys.catch_break true; let origcb = MatitaLog.get_log_callback () in