diff options
| author | Max Howell | 2009-08-29 18:46:31 +0100 |
|---|---|---|
| committer | Max Howell | 2009-08-29 18:46:31 +0100 |
| commit | e2d937d751db58ae876fa6c49e8868c5889593c4 (patch) | |
| tree | 993ef8f124fa43562f36b85c0f885a6f5a531d11 | |
| parent | 7843be15569c0f25dfadf539e181c7cd088c579e (diff) | |
| download | homebrew-e2d937d751db58ae876fa6c49e8868c5889593c4.tar.bz2 | |
brew install lists available install options
brew install without additional arguments that is.
| -rwxr-xr-x | bin/brew | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -68,6 +68,14 @@ begin end when 'install' + if ARGV.named_empty? + # TODO I tried to columnise it using the 'column' utility but it uses + # tabs rather than spaces and the output looked wrong + puts "Available formulae:" + (HOMEBREW_PREFIX+'Library'+'Formula').children.each {|f| puts f.basename('.rb') } + exit 0 + end + # we need to ensure a pristine ENV for each process or the formula # will start with the ENV from the previous build ARGV.formulae.each do |f| |
