aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd
diff options
context:
space:
mode:
authorAdam Vandenberg2011-03-21 13:06:16 -0700
committerAdam Vandenberg2011-03-21 13:07:14 -0700
commit67385c9efc03c359273afe296042f81facdfb27c (patch)
tree27de5d5de67bb648dd538baa4abf92863dd6c6ea /Library/Homebrew/cmd
parent564c2db1a0864845636600bcad398c6ec4ffbf5f (diff)
downloadhomebrew-67385c9efc03c359273afe296042f81facdfb27c.tar.bz2
update manpage for brew audit --strict
This removes the single use of 'brew audit --warn' and changes it to --strict as well.
Diffstat (limited to 'Library/Homebrew/cmd')
-rwxr-xr-xLibrary/Homebrew/cmd/audit.rb8
1 files changed, 3 insertions, 5 deletions
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*$/