aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/audit.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/cmd/audit.rb')
-rw-r--r--Library/Homebrew/cmd/audit.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb
index ed8e7bf15..f3a97fdb4 100644
--- a/Library/Homebrew/cmd/audit.rb
+++ b/Library/Homebrew/cmd/audit.rb
@@ -14,9 +14,9 @@ module Homebrew
problem_count = 0
strict = ARGV.include? "--strict"
- if strict && ARGV.formulae.any? && MacOS.version >= :mavericks
+ if strict && ARGV.resolved_formulae.any? && MacOS.version >= :mavericks
require "cmd/style"
- ohai "brew style #{ARGV.formulae.join " "}"
+ ohai "brew style #{ARGV.resolved_formulae.join " "}"
style
end
@@ -48,7 +48,7 @@ module Homebrew
ff = if ARGV.named.empty?
Formula
else
- ARGV.formulae
+ ARGV.resolved_formulae
end
output_header = !strict