From 4a6e0b2513965ad07446e10719e2aa8e8bca3e65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fe=CC=81lix=20Saparelli?= Date: Mon, 24 Sep 2012 13:49:52 +1200 Subject: [PATCH] Sort search results --- lib/cask/cli/search.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cask/cli/search.rb b/lib/cask/cli/search.rb index ea16731c2..0e5a69f74 100644 --- a/lib/cask/cli/search.rb +++ b/lib/cask/cli/search.rb @@ -15,7 +15,7 @@ class Cask::CLI::Search repos.each { |r| list.push [r,name].join "/" } end } - puts list.join "\n" + puts list.sort.join "\n" end def self.help