Fix brew options --all

Fixes Homebrew/homebrew#18625.
This commit is contained in:
Jack Nagel 2013-03-20 22:31:15 -05:00
parent 8d000110cc
commit 46476ae4d0

View File

@ -3,7 +3,7 @@ require 'cmd/outdated'
def ff
if ARGV.include? "--all"
Formula
Formula.to_a
elsif ARGV.include? "--installed"
# outdated brews count as installed
outdated = Homebrew.outdated_brews.collect{ |b| b.name }