From: Alexis Laferrière Date: Sat, 10 Jan 2015 14:09:49 +0000 (-0500) Subject: nitc: `exec_and_check` print the command on verbose level > 1 X-Git-Tag: v0.7.1~36^2~3 X-Git-Url: http://nitlanguage.org nitc: `exec_and_check` print the command on verbose level > 1 Signed-off-by: Alexis Laferrière --- 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