info: open history pages for all specified formulae
Closes Homebrew/homebrew#17852.
This commit is contained in:
parent
57337a0748
commit
f62818210d
@ -9,6 +9,8 @@ module Homebrew extend self
|
|||||||
# awhile around for compatibility
|
# awhile around for compatibility
|
||||||
if ARGV.json == "v1"
|
if ARGV.json == "v1"
|
||||||
print_json
|
print_json
|
||||||
|
elsif ARGV.flag? '--github'
|
||||||
|
exec_browser *ARGV.formulae.map { |f| github_info(f) }
|
||||||
else
|
else
|
||||||
print_info
|
print_info
|
||||||
end
|
end
|
||||||
@ -70,8 +72,6 @@ module Homebrew extend self
|
|||||||
end
|
end
|
||||||
|
|
||||||
def info_formula f
|
def info_formula f
|
||||||
exec 'open', github_info(f) if ARGV.flag? '--github'
|
|
||||||
|
|
||||||
specs = []
|
specs = []
|
||||||
stable = "stable #{f.stable.version}" if f.stable
|
stable = "stable #{f.stable.version}" if f.stable
|
||||||
stable += " (bottled)" if f.bottle and MacOS.bottles_supported?
|
stable += " (bottled)" if f.bottle and MacOS.bottles_supported?
|
||||||
|
Loading…
x
Reference in New Issue
Block a user