brew-audit - don't complain about --HEAD options

This commit is contained in:
Adam Vandenberg 2010-10-12 08:44:03 -07:00
parent 9108e3956c
commit 61156e979f

View File

@ -112,6 +112,7 @@ def audit_formula_options f, text
if options.length > 0 if options.length > 0
options.each do |o| options.each do |o|
next if o == '--HEAD'
problems << " * Option #{o} is not documented" unless documented_options.include? o problems << " * Option #{o} is not documented" unless documented_options.include? o
end end
end end