aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/info.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/cmd/info.rb')
-rw-r--r--Library/Homebrew/cmd/info.rb7
1 files changed, 1 insertions, 6 deletions
diff --git a/Library/Homebrew/cmd/info.rb b/Library/Homebrew/cmd/info.rb
index d88cd0b12..863138b89 100644
--- a/Library/Homebrew/cmd/info.rb
+++ b/Library/Homebrew/cmd/info.rb
@@ -20,12 +20,7 @@ module Homebrew extend self
def print_info
if ARGV.named.empty?
- if ARGV.include? "--all"
- Formula.each do |f|
- info_formula f
- puts '---'
- end
- elsif HOMEBREW_CELLAR.exist?
+ if HOMEBREW_CELLAR.exist?
puts "#{HOMEBREW_CELLAR.children.length} kegs, #{HOMEBREW_CELLAR.abv}"
end
else