diff options
| author | Enrico Tassi | 2021-02-16 11:00:47 +0100 |
|---|---|---|
| committer | Enrico Tassi | 2021-02-16 19:54:12 +0100 |
| commit | 57030f36d88800004a5bf9d0581d23f60daddad9 (patch) | |
| tree | 7291299cc58cc96abb2351fbc6c351bd5dbeb14f /toplevel | |
| parent | 16765871394a81975047b37f15a902fcc112dc40 (diff) | |
[coqtop] be verbose only in interactive mode
Diffstat (limited to 'toplevel')
| -rw-r--r-- | toplevel/coqtop.ml | 2 |
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 |
