From 46476ae4d06876782a4cd3e675d84f240f0c047c Mon Sep 17 00:00:00 2001
From: Jack Nagel <jacknagel@gmail.com>
Date: Wed, 20 Mar 2013 22:31:15 -0500
Subject: [PATCH] Fix `brew options --all`

Fixes Homebrew/homebrew#18625.
---
 Library/Homebrew/cmd/options.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Library/Homebrew/cmd/options.rb b/Library/Homebrew/cmd/options.rb
index 94d0df065a..61b876e2f8 100644
--- a/Library/Homebrew/cmd/options.rb
+++ b/Library/Homebrew/cmd/options.rb
@@ -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 }
-- 
GitLab