diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb index 66bf5dce01..2f3ffbc0be 100755 --- a/Library/Homebrew/cmd/audit.rb +++ b/Library/Homebrew/cmd/audit.rb @@ -151,7 +151,7 @@ def audit_formula_options f, text if documented_options.length > 0 documented_options.each do |o| - next if o == '--universal' + next if o == '--universal' and text =~ /ARGV\.build_universal\?/ problems << " * Option #{o} is unused" unless options.include? o end end