This repository has been archived by the owner. It is now read-only.

issue-13299 - better / more useful info output #13300

Closed
wants to merge 1 commit into
base: master
from
Jump to file or symbol
Failed to load files and symbols.
+6 −4
Diff settings

Always

Just for now

@@ -50,13 +50,15 @@ def info_formula f
exec 'open', github_info(f) if ARGV.flag? '--github'
specs = []
stable = "stable #{f.stable.version}" if f.stable
stable = f.stable.version if f.stable
stable += " (bottled)" if f.bottle and bottles_supported?
specs << stable if stable
specs << "devel #{f.devel.version}" if f.devel
specs << f.devel.version if f.devel
specs << "HEAD" if f.head
puts "#{f.name}: #{specs*', '}"
puts "#{f.name} #{f.version}"
puts "Formula name: #{f.name}"
puts "Stable version: #{stable}"
puts "Development version: #{specs*', '}"
puts f.homepage
ProTip! Use n and p to navigate between commits in a pull request.