From adb85c7f388bd79fa3fc7de7b975d953d80a5a6f Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Sun, 11 Sep 2011 16:22:45 -0500 Subject: brew-options: actually skip formulae with no options Signed-off-by: Jack Nagel --- Library/Homebrew/cmd/options.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library') diff --git a/Library/Homebrew/cmd/options.rb b/Library/Homebrew/cmd/options.rb index 273969c95..8145e517b 100644 --- a/Library/Homebrew/cmd/options.rb +++ b/Library/Homebrew/cmd/options.rb @@ -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 -- cgit v1.2.3