aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/brew6
1 files changed, 5 insertions, 1 deletions
diff --git a/bin/brew b/bin/brew
index a944d631b..fd57ebc3a 100755
--- a/bin/brew
+++ b/bin/brew
@@ -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|