aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib
diff options
context:
space:
mode:
authorGravatar filliatr <filliatr@85f007b7-540e-0410-9357-904b9bb8a0f7>1999-12-09 09:59:27 +0000
committerGravatar filliatr <filliatr@85f007b7-540e-0410-9357-904b9bb8a0f7>1999-12-09 09:59:27 +0000
commitf09ca438e24bc4016b4e778dd8fd4de4641b7636 (patch)
tree4b108c844f99fb9bba496fa50d56445f5a8fd6ff /lib
parentc4dccc430e10b784e65b5bf3330c55d658d2883d (diff)
Discharge (encore bugge)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@223 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'lib')
-rw-r--r--lib/options.ml3
-rw-r--r--lib/options.mli1
2 files changed, 3 insertions, 1 deletions
diff --git a/lib/options.ml b/lib/options.ml
index c0f14ee30..26869e7ad 100644
--- a/lib/options.ml
+++ b/lib/options.ml
@@ -11,10 +11,11 @@ let print_emacs = ref false
let emacs_str s = if !print_emacs then s else ""
-(* Silent *)
+(* Silent / Verbose *)
let silent = ref false
let make_silent flag = silent := flag; ()
let is_silent () = !silent
+let verbose () = not !silent
let silently f x =
let oldsilent = !silent in
diff --git a/lib/options.mli b/lib/options.mli
index 913788352..dc6b5b982 100644
--- a/lib/options.mli
+++ b/lib/options.mli
@@ -12,6 +12,7 @@ val emacs_str : string -> string
val make_silent : bool -> unit
val is_silent : unit -> bool
+val verbose : unit -> bool
val silently : ('a -> 'b) -> 'a -> 'b
val set_print_hyps_limit : int -> unit