diff options
| author | Max Howell | 2009-06-18 10:33:21 +0100 |
|---|---|---|
| committer | Max Howell | 2009-06-18 10:34:54 +0100 |
| commit | f352880274cc66d396a1b88099e4a5e7cf669928 (patch) | |
| tree | 802e47e611c3b3570363676de32c1dd2e23a7c0a | |
| parent | 2097730e406e651da5645ceef8bc0dc25f12799d (diff) | |
| download | brew-f352880274cc66d396a1b88099e4a5e7cf669928.tar.bz2 | |
brew install foo --help
Shows the result of ./configure --help
| -rwxr-xr-x | bin/brew | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -220,7 +220,11 @@ begin o.brew do if ARGV.include? '--interactive' ohai "Entering interactive mode, type `exit' to return to this shell" - exec "bash" #TODO why exec? + exec "bash" # exec() because system() didn't work :( + elsif ARGV.include? '--help' + ohai './configure --help' + puts `./configure --help` + exit else o.install ['README','ChangeLog','COPYING','COPYRIGHT','AUTHORS'].each do |file| |
