diff options
| -rw-r--r-- | Library/Homebrew/cmd/audit.rb | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb index b9c385c32..7390b8a86 100644 --- a/Library/Homebrew/cmd/audit.rb +++ b/Library/Homebrew/cmd/audit.rb @@ -360,12 +360,8 @@ class FormulaAuditor EOS end - if desc =~ /[Cc]ommandline/ - problem "It should be \"command-line\", not \"commandline\"." - end - - if desc =~ /[Cc]ommand line/ - problem "It should be \"command-line\", not \"command line\"." + if desc =~ %r[([Cc]ommand ?line)] + problem "Description should use \"command-line\" instead of \"#{$1}\"" end end |
