From 4081777e099ebc5770dfcd700bff44d5dbf26a14 Mon Sep 17 00:00:00 2001 From: Lasse Blaauwbroek Date: Wed, 16 Dec 2020 09:12:02 +0100 Subject: Add -q flag to coqrst python invocation of coqtop This will help with reproducibility for people who have something in their coqrc file. Co-authored-by: Théo Zimmermann --- doc/tools/coqrst/repl/coqtop.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/tools/coqrst/repl/coqtop.py b/doc/tools/coqrst/repl/coqtop.py index 3021594183..388efd01d6 100644 --- a/doc/tools/coqrst/repl/coqtop.py +++ b/doc/tools/coqrst/repl/coqtop.py @@ -52,7 +52,7 @@ class CoqTop: self.coqtop_bin = coqtop_bin or os.path.join(os.getenv('COQBIN', ""), "coqtop") if not pexpect.utils.which(self.coqtop_bin): raise ValueError("coqtop binary not found: '{}'".format(self.coqtop_bin)) - self.args = (args or []) + ["-color", "on"] * color + self.args = (args or []) + ["-q"] + ["-color", "on"] * color self.coqtop = None def __enter__(self): -- cgit v1.2.3