aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/install.rb
diff options
context:
space:
mode:
authorJack Nagel2014-03-13 10:11:00 -0500
committerJack Nagel2014-03-13 15:59:53 -0500
commit77c3404f3ba4234d12a96203dcda1d724647fcf0 (patch)
tree57a1ff81e0c346153a4e6f18e85a1b93a2bab433 /Library/Homebrew/cmd/install.rb
parent9b713ba0d1d3b5d6d3b1c50aa0b976c3da3cefab (diff)
downloadhomebrew-77c3404f3ba4234d12a96203dcda1d724647fcf0.tar.bz2
Make interactive an installer mode
Diffstat (limited to 'Library/Homebrew/cmd/install.rb')
-rw-r--r--Library/Homebrew/cmd/install.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/install.rb b/Library/Homebrew/cmd/install.rb
index 8a13397b2..2babedd26 100644
--- a/Library/Homebrew/cmd/install.rb
+++ b/Library/Homebrew/cmd/install.rb
@@ -110,6 +110,8 @@ module Homebrew extend self
fi.build_bottle = ARGV.build_bottle?
fi.build_from_source = ARGV.build_from_source?
fi.force_bottle = ARGV.force_bottle?
+ fi.interactive = ARGV.interactive?
+ fi.interactive &&= :git if ARGV.flag? "--git"
fi.prelude
fi.install
fi.caveats