aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/outdated.rb
diff options
context:
space:
mode:
authorJack Nagel2015-01-03 17:53:00 -0500
committerJack Nagel2015-01-03 17:54:07 -0500
commit87d100311e2b154276d3bafd7036b67d7322eb3b (patch)
tree410e04c59bfda1209c175fd116f0388a7f045976 /Library/Homebrew/cmd/outdated.rb
parent9bf12382d5398ab10a22248f40bef2f39efd608d (diff)
downloadhomebrew-87d100311e2b154276d3bafd7036b67d7322eb3b.tar.bz2
Get rid of mixed operator styles
Diffstat (limited to 'Library/Homebrew/cmd/outdated.rb')
-rw-r--r--Library/Homebrew/cmd/outdated.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/outdated.rb b/Library/Homebrew/cmd/outdated.rb
index f90e933f3..4cbd8a6c8 100644
--- a/Library/Homebrew/cmd/outdated.rb
+++ b/Library/Homebrew/cmd/outdated.rb
@@ -4,7 +4,7 @@ require 'keg'
module Homebrew
def outdated
outdated_brews do |f, versions|
- if ($stdout.tty? || ARGV.verbose?) and not ARGV.flag? '--quiet'
+ if ($stdout.tty? || ARGV.verbose?) && !ARGV.flag?("--quiet")
puts "#{f.name} (#{versions*', '} < #{f.pkg_version})"
else
puts f.name