aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2012-08-22 21:10:26 -0700
committerAdam Vandenberg2012-08-22 21:10:26 -0700
commitb8f8ded09e383b9104353ad1fcc1c4607c6077cf (patch)
tree4fbfd854e7d8ed69ca45f6df76f3b100d05a97c7 /Library
parent62a31f32a7979cc2d685ed25ec657a03d8dc75f6 (diff)
downloadhomebrew-b8f8ded09e383b9104353ad1fcc1c4607c6077cf.tar.bz2
audit: allow certain ARGV usages
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/audit.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb
index 39fd8e498..eb4c509ec 100644
--- a/Library/Homebrew/cmd/audit.rb
+++ b/Library/Homebrew/cmd/audit.rb
@@ -368,7 +368,7 @@ class FormulaAuditor
problem "Use 'build.head?' instead of inspecting 'version'"
end
- if text =~ /ARGV/
+ if text =~ /ARGV(?!\.(debug|verbose)\?)/
problem "Use build instead of ARGV to check options."
end