diff --git a/Library/Contributions/manpages/brew.1.md b/Library/Contributions/manpages/brew.1.md index a51d0cd5d2..5643a952de 100644 --- a/Library/Contributions/manpages/brew.1.md +++ b/Library/Contributions/manpages/brew.1.md @@ -148,9 +148,6 @@ Note that these flags should only appear after a command. To view formula history locally: `brew log -p `. - * `info` : - Print the name and version that will be detected for . - * `install [--debug] [--env=] [--ignore-dependencies] [--only-dependencies] [--fresh] [--cc=] [--build-from-source] [--devel|--HEAD]` : Install . diff --git a/Library/Homebrew/cmd/info.rb b/Library/Homebrew/cmd/info.rb index 508efd6ffe..d88cd0b12d 100644 --- a/Library/Homebrew/cmd/info.rb +++ b/Library/Homebrew/cmd/info.rb @@ -28,8 +28,6 @@ module Homebrew extend self elsif HOMEBREW_CELLAR.exist? puts "#{HOMEBREW_CELLAR.children.length} kegs, #{HOMEBREW_CELLAR.abv}" end - elsif valid_url ARGV[0] - info_formula Formula.factory(ARGV.shift) else ARGV.named.each do |f| begin @@ -158,11 +156,4 @@ module Homebrew extend self end deps_status * ", " end - - private - - def valid_url u - u[0..6] == 'http://' or u[0..7] == 'https://' or u[0..5] == 'ftp://' - end - end diff --git a/share/man/man1/brew.1 b/share/man/man1/brew.1 index 70175cbdd3..1197ba20cb 100644 --- a/share/man/man1/brew.1 +++ b/share/man/man1/brew.1 @@ -170,10 +170,6 @@ Open a browser to the GitHub History page for formula \fIformula\fR\. To view formula history locally: \fBbrew log \-p \fR\. . .TP -\fBinfo\fR \fIURL\fR -Print the name and version that will be detected for \fIURL\fR\. -. -.TP \fBinstall [\-\-debug] [\-\-env=] [\-\-ignore\-dependencies] [\-\-only\-dependencies] [\-\-fresh] [\-\-cc=] [\-\-build\-from\-source] [\-\-devel|\-\-HEAD]\fR \fIformula\fR Install \fIformula\fR\. .