From 75e988f93e2849058b8096e4ea6fbee2cf33c7c8 Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Sat, 8 Mar 2014 07:34:27 -0800 Subject: remove brew info --all Closes #27322. --- Library/Contributions/manpages/brew.1.md | 4 +--- Library/Homebrew/cmd/info.rb | 7 +------ 2 files changed, 2 insertions(+), 9 deletions(-) (limited to 'Library') diff --git a/Library/Contributions/manpages/brew.1.md b/Library/Contributions/manpages/brew.1.md index 44b2264f1..5f20c8cc1 100644 --- a/Library/Contributions/manpages/brew.1.md +++ b/Library/Contributions/manpages/brew.1.md @@ -141,11 +141,9 @@ Note that these flags should only appear after a command. * `home` : Open 's homepage in a browser. - * `info [--all]` : + * `info : Display information about . - If `--all` is passed, show info for all formulae. - * `info --github` : Open a browser to the GitHub History page for formula . 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 -- cgit v1.2.3