diff options
| author | Adam Vandenberg | 2009-11-19 13:59:24 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2009-11-19 14:03:08 -0800 |
| commit | 411874e0b6ecb63eac333ec4aeb6d853da8807a6 (patch) | |
| tree | fa5daf256b96cc20a969d1fe863e77c507dac785 /bin | |
| parent | 7366a412681384df9716499f737e90d8bad03d84 (diff) | |
| download | brew-411874e0b6ecb63eac333ec4aeb6d853da8807a6.tar.bz2 | |
Add command 'brew info --all'.
Diffstat (limited to 'bin')
| -rwxr-xr-x | bin/brew | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -181,7 +181,15 @@ begin when 'info', 'abv' if ARGV.named.empty? - puts `ls #{HOMEBREW_CELLAR} | wc -l`.strip+" kegs, "+HOMEBREW_CELLAR.abv + if ARGV.include? "--all" + require 'formula' + Formulary.names.each do |name| + info name + puts '---' + end + else + puts `ls #{HOMEBREW_CELLAR} | wc -l`.strip+" kegs, "+HOMEBREW_CELLAR.abv + end elsif ARGV[0][0..6] == 'http://' puts Pathname.new(ARGV.shift).version else |
