aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2017-10-20 10:16:32 +0100
committerGitHub2017-10-20 10:16:32 +0100
commit460048bcb6da5afdc20947676ec288943c1d720f (patch)
treef3a95f0d173de4a0490a53e36fc1596e88b48c92 /Library
parent15096e7289b25ef19baa6c0455f2051583665f70 (diff)
parentad3886b462712c70a66cabdacde31db839c3da0a (diff)
downloadbrew-460048bcb6da5afdc20947676ec288943c1d720f.tar.bz2
Merge pull request #3302 from maxim-belkin/readall-multiple-taps
readall: allow readall-ing multiple taps at once
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/readall.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/Library/Homebrew/cmd/readall.rb b/Library/Homebrew/cmd/readall.rb
index 3591e0c09..e628cb090 100644
--- a/Library/Homebrew/cmd/readall.rb
+++ b/Library/Homebrew/cmd/readall.rb
@@ -1,6 +1,7 @@
#: @hide_from_man_page
#: * `readall` [tap]:
-#: Import all formulae in a tap (defaults to core tap).
+#: Import all formulae from specified taps (defaults to
+#: all installed taps).
#:
#: This can be useful for debugging issues across all formulae
#: when making significant changes to `formula.rb`,
@@ -31,7 +32,7 @@ module Homebrew
taps = if ARGV.named.empty?
Tap
else
- [Tap.fetch(ARGV.named.first)]
+ ARGV.named.map { |t| Tap.fetch(t) }
end
taps.each do |tap|
Homebrew.failed = true unless Readall.valid_tap?(tap, options)