aboutsummaryrefslogtreecommitdiff
path: root/toplevel
diff options
context:
space:
mode:
Diffstat (limited to 'toplevel')
-rw-r--r--toplevel/coqtop.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/toplevel/coqtop.ml b/toplevel/coqtop.ml
index caf86ef870..c0d2bab218 100644
--- a/toplevel/coqtop.ml
+++ b/toplevel/coqtop.ml
@@ -174,7 +174,7 @@ let init_toploop opts stm_opts injections =
state
let coqtop_init ({ run_mode; color_mode }, async_opts) injections ~opts =
- if run_mode = Batch then Flags.quiet := true;
+ if run_mode != Interactive then Flags.quiet := true;
init_color (if opts.config.print_emacs then `EMACS else color_mode);
Flags.if_verbose print_header ();
init_toploop opts async_opts injections