aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorAdam Vandenberg2012-08-22 21:10:26 -0700
committerAdam Vandenberg2012-08-22 21:10:26 -0700
commit065475369568f7a1174efb681faab01183b648e4 (patch)
tree75889b25143667a1012549de80ff7a07c824ac80 /Library/Homebrew
parent2566ec85cb2e8587427e7f7234e41bc3642e199e (diff)
downloadbrew-065475369568f7a1174efb681faab01183b648e4.tar.bz2
audit: allow certain ARGV usages
Diffstat (limited to 'Library/Homebrew')
-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