diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb
index 03b2bf78d8dd43b8a4aad9489b996aa655d79c3f..5f4796a6e5052f7e9141624778741e27c642e2b5 100755
--- a/Library/Homebrew/cmd/audit.rb
+++ b/Library/Homebrew/cmd/audit.rb
@@ -124,7 +124,7 @@ def audit_formula_options f, text
 
   # Find possible options
   options = []
-  text.scan(/ARGV\.include\?[ ]*\(?(['"])(.+?)\1/) { |m| options << m[1] }
+  text.scan(/ARGV\.(include|flag)\?[ ]*\(?(['"])(.+?)\2/) { |m| options << m[2] }
   options.reject! {|o| o.include? "#"}
   options.uniq!
 
@@ -140,7 +140,7 @@ def audit_formula_options f, text
 
   if options.length > 0
     options.each do |o|
-      next if o == '--HEAD'
+      next if o == '--HEAD' || o == '--devel'
       problems << " * Option #{o} is not documented" unless documented_options.include? o
     end
   end