aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Vandenberg2014-04-30 21:10:47 -0700
committerAdam Vandenberg2014-04-30 21:10:47 -0700
commit579c0e898fed32f603758cb340a489840d341c3a (patch)
tree2f3adf3b58a753f7dd77affe690f6ea74d3b6425
parentd4b0599a86b5d0242477597506af69df24784523 (diff)
downloadbrew-579c0e898fed32f603758cb340a489840d341c3a.tar.bz2
outdated: allow forcing verbose output
Closes Homebrew/homebrew#27813.
-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 d50ebb283..a8fb33cd0 100644
--- a/Library/Homebrew/cmd/outdated.rb
+++ b/Library/Homebrew/cmd/outdated.rb
@@ -4,7 +4,7 @@ require 'keg'
module Homebrew extend self
def outdated
outdated_brews do |f, versions|
- if $stdout.tty? and not ARGV.flag? '--quiet'
+ if ($stdout.tty? || ARGV.verbose?) and not ARGV.flag? '--quiet'
puts "#{f.name} (#{versions*', '} < #{f.pkg_version})"
else
puts f.name