aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bundler/cli.rb
diff options
context:
space:
mode:
authorAndre Arko <andre@arko.net>2010-03-09 11:20:43 -0800
committerAndre Arko <andre@arko.net>2010-03-09 11:55:34 -0800
commitfe81be9dfeae10c7092b78d61a9869506d3ac33f (patch)
treebfe573470ad27e41ca2d26f9140b5a814de4c8fe /lib/bundler/cli.rb
parentcf373ce78652b369797e93b614d2eb490be4516f (diff)
downloadbundler-fe81be9dfeae10c7092b78d61a9869506d3ac33f.tar.gz
Validate command switches
Diffstat (limited to 'lib/bundler/cli.rb')
-rw-r--r--lib/bundler/cli.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/cli.rb b/lib/bundler/cli.rb
index 34e892f8..57b262c5 100644
--- a/lib/bundler/cli.rb
+++ b/lib/bundler/cli.rb
@@ -7,7 +7,7 @@ Gem.configuration
module Bundler
class CLI < Thor
- ARGV = ::ARGV.dup
+ check_unknown_options! unless ARGV.include?("exec")
desc "init", "Generates a Gemfile into the current working directory"
def init