aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2013-02-16 21:20:14 -0600
committerJack Nagel2013-02-16 21:20:17 -0600
commitf62818210d4eb010ea3c84d30b7aef299b00a6b4 (patch)
tree4a2da6e7699d55455ce608af377d609eff7e3c72 /Library
parent57337a07489379792a5da54b7eabf86c7ef4c317 (diff)
downloadbrew-f62818210d4eb010ea3c84d30b7aef299b00a6b4.tar.bz2
info: open history pages for all specified formulae
Closes Homebrew/homebrew#17852.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/info.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/cmd/info.rb b/Library/Homebrew/cmd/info.rb
index 3a462c786..b0ef8560e 100644
--- a/Library/Homebrew/cmd/info.rb
+++ b/Library/Homebrew/cmd/info.rb
@@ -9,6 +9,8 @@ module Homebrew extend self
# awhile around for compatibility
if ARGV.json == "v1"
print_json
+ elsif ARGV.flag? '--github'
+ exec_browser *ARGV.formulae.map { |f| github_info(f) }
else
print_info
end
@@ -70,8 +72,6 @@ module Homebrew extend self
end
def info_formula f
- exec 'open', github_info(f) if ARGV.flag? '--github'
-
specs = []
stable = "stable #{f.stable.version}" if f.stable
stable += " (bottled)" if f.bottle and MacOS.bottles_supported?