brew install foo --help

Shows the result of ./configure --help
This commit is contained in:
Max Howell 2009-06-18 10:33:21 +01:00
parent 2097730e40
commit f352880274

View File

@ -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|