Skip to content

Commit

Permalink
remove brew info --all
Browse files Browse the repository at this point in the history
  • Loading branch information
adamv committed Mar 8, 2014
1 parent 92dda79 commit 75e988f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 13 deletions.
4 changes: 1 addition & 3 deletions Library/Contributions/manpages/brew.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -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>.

Expand Down
7 changes: 1 addition & 6 deletions Library/Homebrew/cmd/info.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,7 @@ def info

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
Expand Down
5 changes: 1 addition & 4 deletions share/man/man1/brew.1
Original file line number Diff line number Diff line change
Expand Up @@ -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\.
Expand Down

0 comments on commit 75e988f

Please sign in to comment.