diff options
Diffstat (limited to 'Library/Homebrew/cmd')
| -rw-r--r-- | Library/Homebrew/cmd/readall.rb | 2 | ||||
| -rw-r--r-- | Library/Homebrew/cmd/search.rb | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/Library/Homebrew/cmd/readall.rb b/Library/Homebrew/cmd/readall.rb index ce5be80a8..399618dd8 100644 --- a/Library/Homebrew/cmd/readall.rb +++ b/Library/Homebrew/cmd/readall.rb @@ -32,7 +32,7 @@ module Homebrew formulae = [] if ARGV.named.empty? - formulae = Formula.names + formulae = Formula.full_names else user, repo = tap_args user.downcase! diff --git a/Library/Homebrew/cmd/search.rb b/Library/Homebrew/cmd/search.rb index 5ac9db391..436726274 100644 --- a/Library/Homebrew/cmd/search.rb +++ b/Library/Homebrew/cmd/search.rb @@ -28,7 +28,7 @@ module Homebrew end end elsif ARGV.empty? - puts_columns Formula.names + puts_columns Formula.full_names elsif ARGV.first =~ HOMEBREW_TAP_FORMULA_REGEX query = ARGV.first user, repo, name = query.split("/", 3) @@ -152,7 +152,7 @@ module Homebrew def search_formulae rx aliases = Formula.aliases - results = (Formula.names+aliases).grep(rx).sort + results = (Formula.full_names+aliases).grep(rx).sort # Filter out aliases when the full name was also found results.reject do |name| |
