From 56928e9fee2d6d604d72b767826b3ee1d43502b0 Mon Sep 17 00:00:00 2001 From: Daniel Bovensiepen Date: Mon, 21 Jan 2013 15:57:45 +0800 Subject: make minirake respect verbose and set verbose to false by default --- minirake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/minirake b/minirake index 00a2e6486..430e730cb 100755 --- a/minirake +++ b/minirake @@ -277,7 +277,7 @@ module MiniRake # Run the system command +cmd+. def sh(cmd) - puts cmd + puts cmd if $verbose system(cmd) or fail "Command Failed: [#{cmd}]" end @@ -418,7 +418,7 @@ class RakeApp # Read and handle the command line options. def handle_options - $verbose = true + $verbose = false opts = GetoptLong.new(*command_line_options) opts.each { |opt, value| do_option(opt, value) } end -- cgit v1.2.3