Add a '-q' option to not print recipes before executing.

This commit is contained in:
Daniel Jones 2015-03-24 17:47:02 -07:00
parent 53634f87d8
commit 73d1b31466
3 changed files with 23 additions and 9 deletions

View file

@ -97,9 +97,7 @@ func dorecipe(target string, u *node, e *edge, dryrun bool) bool {
args = e.r.shell[1:]
}
if !e.r.attributes.quiet {
mkPrintRecipe(target, input)
}
mkPrintRecipe(target, input, e.r.attributes.quiet)
if dryrun {
return true