nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
nitc: `exec_and_check` print the command on verbose level > 1
[nit.git]
/
src
/
toolcontext.nit
diff --git
a/src/toolcontext.nit
b/src/toolcontext.nit
index
8f08e30
..
021c2c7
100644
(file)
--- 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