Skip to content
Snippets Groups Projects
Commit adb85c7f authored by Jack Nagel's avatar Jack Nagel
Browse files

brew-options: actually skip formulae with no options


Signed-off-by: default avatarJack Nagel <jacknagel@gmail.com>
parent 16f65945
No related branches found
No related tags found
No related merge requests found
......@@ -11,7 +11,7 @@ end
module Homebrew extend self
def options
ff.each do |f|
f.options rescue next
next if f.options.empty?
if ARGV.include? '--compact'
puts f.options.collect {|o| o[0]} * " "
else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment