From d9074b80b7617e73084a55d8318da3fb67641bbf Mon Sep 17 00:00:00 2001 From: Dominyk Tiller Date: Sat, 14 Oct 2017 06:25:31 +0100 Subject: [PATCH] options: pass explicit sort to handle APFS --- Library/Homebrew/cmd/options.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Library/Homebrew/cmd/options.rb b/Library/Homebrew/cmd/options.rb index 843d3a1ee8..6bb6afafe9 100644 --- a/Library/Homebrew/cmd/options.rb +++ b/Library/Homebrew/cmd/options.rb @@ -16,9 +16,9 @@ module Homebrew def options if ARGV.include? "--all" - puts_options Formula.to_a + puts_options Formula.to_a.sort elsif ARGV.include? "--installed" - puts_options Formula.installed + puts_options Formula.installed.sort else raise FormulaUnspecifiedError if ARGV.named.empty? puts_options ARGV.formulae