diff options
| author | Adam Vandenberg | 2012-08-22 21:10:26 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2012-08-22 21:10:26 -0700 |
| commit | 065475369568f7a1174efb681faab01183b648e4 (patch) | |
| tree | 75889b25143667a1012549de80ff7a07c824ac80 | |
| parent | 2566ec85cb2e8587427e7f7234e41bc3642e199e (diff) | |
| download | brew-065475369568f7a1174efb681faab01183b648e4.tar.bz2 | |
audit: allow certain ARGV usages
| -rw-r--r-- | Library/Homebrew/cmd/audit.rb | 2 |
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 |
