audit: allow certain ARGV usages

This commit is contained in:
Adam Vandenberg 2012-08-22 21:10:26 -07:00
parent 2566ec85cb
commit 0654753695

View File

@ -368,7 +368,7 @@ class FormulaAuditor
problem "Use 'build.head?' instead of inspecting 'version'" problem "Use 'build.head?' instead of inspecting 'version'"
end end
if text =~ /ARGV/ if text =~ /ARGV(?!\.(debug|verbose)\?)/
problem "Use build instead of ARGV to check options." problem "Use build instead of ARGV to check options."
end end