diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb index 0ebe7b12ac..708d6a3bcb 100644 --- a/Library/Homebrew/cmd/audit.rb +++ b/Library/Homebrew/cmd/audit.rb @@ -354,7 +354,10 @@ class FormulaAuditor # Make sure the formula name plus description is no longer than 80 characters linelength = formula.full_name.length + ": ".length + desc.length if linelength > 80 - problem "Description is too long. \"name: desc\" should be less than 80 characters (currently #{linelength})." + problem <<-EOS.undent + Description is too long. \"name: desc\" should be less than 80 characters. + Length is calculated as #{formula.full_name} + desc. (currently #{linelength}) + EOS end if desc =~ %r[[Cc]ommandline]