options: show --HEAD and --devel when appropriate

Closes Homebrew/homebrew#24680.
This commit is contained in:
Adam Vandenberg 2013-12-15 19:42:08 -08:00
parent 2635817ca8
commit 6aa2277119

View File

@ -30,5 +30,13 @@ module Homebrew extend self
puts opt.flag puts opt.flag
puts "\t"+opt.description puts "\t"+opt.description
end end
if f.devel
puts '--devel'
puts "\tinstall development version #{f.devel.version}"
end
if f.head
puts '--HEAD'
puts "\tinstall HEAD version"
end
end end
end end