diff options
Diffstat (limited to 'Library/Homebrew/cmd/options.rb')
| -rw-r--r-- | Library/Homebrew/cmd/options.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/cmd/options.rb b/Library/Homebrew/cmd/options.rb index 2f64f5b39..9cb41f7bb 100644 --- a/Library/Homebrew/cmd/options.rb +++ b/Library/Homebrew/cmd/options.rb @@ -3,11 +3,11 @@ require 'cmd/outdated' def ff if ARGV.include? "--all" - Formula.all + Formula elsif ARGV.include? "--installed" # outdated brews count as installed outdated = Homebrew.outdated_brews.collect{ |b| b.name } - Formula.all.select do |f| + Formula.select do |f| f.installed? or outdated.include? f.name end else |
