aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Vandenberg2014-03-08 07:34:27 -0800
committerAdam Vandenberg2014-03-08 07:43:36 -0800
commit75e988f93e2849058b8096e4ea6fbee2cf33c7c8 (patch)
tree9255633b601e31eb14e87a1ba50ae37c538a2704
parent92dda79657adbab6ab7ecd2254269e963c5eccc6 (diff)
downloadhomebrew-75e988f93e2849058b8096e4ea6fbee2cf33c7c8.tar.bz2
remove brew info --all
Closes #27322.
-rw-r--r--Library/Contributions/manpages/brew.1.md4
-rw-r--r--Library/Homebrew/cmd/info.rb7
-rw-r--r--share/man/man1/brew.15
3 files changed, 3 insertions, 13 deletions
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` <formula>:
Open <formula>'s homepage in a browser.
- * `info [--all]` <formula>:
+ * `info <formula>:
Display information about <formula>.
- If `--all` is passed, show info for all formulae.
-
* `info --github` <formula>:
Open a browser to the GitHub History page for formula <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
diff --git a/share/man/man1/brew.1 b/share/man/man1/brew.1
index 89a19f4fe..fda7e9032 100644
--- a/share/man/man1/brew.1
+++ b/share/man/man1/brew.1
@@ -159,12 +159,9 @@ Open Homebrew\'s own homepage in a browser\.
Open \fIformula\fR\'s homepage in a browser\.
.
.TP
-\fBinfo [\-\-all]\fR \fIformula\fR
+`info \fIformula\fR
Display information about \fIformula\fR\.
.
-.IP
-If \fB\-\-all\fR is passed, show info for all formulae\.
-.
.TP
\fBinfo \-\-github\fR \fIformula\fR
Open a browser to the GitHub History page for formula \fIformula\fR\.