info: show spec options for optionless formulae

Previsiouly, info would not display --HEAD or --devel for formulae that
had no options other than those spec options.
This commit is contained in:
ilovezfs 2018-01-18 00:03:10 -08:00
parent 3e8b0577fa
commit ebd50d136f

View File

@ -164,7 +164,7 @@ module Homebrew
end
end
unless f.options.empty?
if !f.options.empty? || f.head || f.devel
ohai "Options"
Homebrew.dump_options_for_formula f
end