aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorDan Martinez2014-03-07 16:01:19 -0800
committerAdam Vandenberg2014-04-23 20:41:24 -0700
commit28f1fee6cbec14560f1f208363f241f27a747564 (patch)
tree65fb2feaec24ff5169554060cc97addeccd852f5 /Library
parent28f4271407ff67576c61621869fb707911872afc (diff)
downloadhomebrew-28f1fee6cbec14560f1f208363f241f27a747564.tar.bz2
separate the brew info for multiple formulae
Closes #27311. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/info.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/info.rb b/Library/Homebrew/cmd/info.rb
index 806a8e870..78e90d727 100644
--- a/Library/Homebrew/cmd/info.rb
+++ b/Library/Homebrew/cmd/info.rb
@@ -24,7 +24,8 @@ module Homebrew extend self
puts "#{HOMEBREW_CELLAR.children.length} kegs, #{HOMEBREW_CELLAR.abv}"
end
else
- ARGV.named.each do |f|
+ ARGV.named.each_with_index do |f,i|
+ puts unless i == 0
begin
info_formula Formula.factory(f)
rescue FormulaUnavailableError