Add keg-only text to brew info output

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
Jack Nagel authored and Adam Vandenberg committed 2011-08-11 11:46:35 -07:00
1 parent 47a3f0e1a6
commit 54dc96d840
1 file changed
+7
+7
View File
@@ -41,6 +41,13 @@ module Homebrew extend self
puts "#{f.name} #{f.version}"
puts f.homepage
if f.keg_only?
puts
puts "This formula is keg-only."
puts f.keg_only?
puts
end
puts "Depends on: #{f.deps*', '}" unless f.deps.empty?
rack = f.prefix.parent