aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd
diff options
context:
space:
mode:
authorXu Cheng2016-02-26 17:18:30 +0800
committerXu Cheng2016-02-26 18:42:36 +0800
commiteb6f970b907383b0f1787e2a9c6f5f74fd6f7464 (patch)
treefe4621dacc9ed8c7405d9cface9102f04cdd81df /Library/Homebrew/cmd
parent43c6061bc95d8e21803b227181f716e6926e28f4 (diff)
downloadbrew-eb6f970b907383b0f1787e2a9c6f5f74fd6f7464.tar.bz2
tap: support --quieter flag
Closes Homebrew/homebrew#49551. Signed-off-by: Xu Cheng <xucheng@me.com>
Diffstat (limited to 'Library/Homebrew/cmd')
-rw-r--r--Library/Homebrew/cmd/tap.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/Library/Homebrew/cmd/tap.rb b/Library/Homebrew/cmd/tap.rb
index 774342de5..a755e5559 100644
--- a/Library/Homebrew/cmd/tap.rb
+++ b/Library/Homebrew/cmd/tap.rb
@@ -16,8 +16,9 @@ module Homebrew
else
tap = Tap.fetch(ARGV.named[0])
begin
- tap.install(:clone_target => ARGV.named[1],
- :full_clone => ARGV.include?("--full"))
+ tap.install :clone_target => ARGV.named[1],
+ :full_clone => ARGV.include?("--full"),
+ :quiet => ARGV.quieter?
rescue TapAlreadyTappedError => e
opoo e
end