aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorilovezfs2018-01-18 00:03:10 -0800
committerilovezfs2018-01-18 00:03:10 -0800
commitebd50d136f40b3795e9feecd7de0177f6067a61d (patch)
treed473ae97bebbde536f187f64f4d6f9d42b02afc9
parent3e8b0577fae5aaa3afaa3d38aae9d1ff55207412 (diff)
downloadbrew-ebd50d136f40b3795e9feecd7de0177f6067a61d.tar.bz2
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.
-rw-r--r--Library/Homebrew/cmd/info.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/info.rb b/Library/Homebrew/cmd/info.rb
index 83bb712ab..a78159a15 100644
--- a/Library/Homebrew/cmd/info.rb
+++ b/Library/Homebrew/cmd/info.rb
@@ -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