From 84fbdd795fe146abbe560fa669c451f762bd779c Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Mon, 21 Mar 2011 13:06:16 -0700 Subject: update manpage for brew audit --strict This removes the single use of 'brew audit --warn' and changes it to --strict as well. --- Library/Homebrew/cmd/audit.rb | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'Library/Homebrew/cmd') diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb index 559543adf..576a9c780 100755 --- a/Library/Homebrew/cmd/audit.rb +++ b/Library/Homebrew/cmd/audit.rb @@ -102,11 +102,9 @@ def audit_formula_text name, text problems << " * Use separate make calls." end - if ARGV.include? "--warn" - if text =~ /^\t/ - problems << " * Use spaces instead of tabs for indentation" - end - end + if text =~ /^\t/ + problems << " * Use spaces instead of tabs for indentation" + end if strict? # Formula depends_on gfortran if text =~ /\s*depends_on\s*(\'|\")gfortran(\'|\")\s*$/ -- cgit v1.2.3