From c6cde714523623e7f91461cb755752fab44baf63 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Alexis=20Laferri=C3=A8re?= Date: Sat, 10 Jan 2015 09:09:49 -0500 Subject: [PATCH] nitc: `exec_and_check` print the command on verbose level > 1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Alexis Laferrière --- src/toolcontext.nit | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/toolcontext.nit b/src/toolcontext.nit index 8f08e30..021c2c7 100644 --- a/src/toolcontext.nit +++ b/src/toolcontext.nit @@ -243,6 +243,8 @@ class ToolContext # Stops execution and prints errors if the program isn't available or didn't end correctly fun exec_and_check(args: Array[String], error: String) do + info("+ {args.join(" ")}", 2) + var prog = args.first args.remove_at 0 -- 1.7.9.5