diff options
author | Andre Arko <andre@arko.net> | 2010-03-09 11:20:43 -0800 |
---|---|---|
committer | Andre Arko <andre@arko.net> | 2010-03-09 11:55:34 -0800 |
commit | fe81be9dfeae10c7092b78d61a9869506d3ac33f (patch) | |
tree | bfe573470ad27e41ca2d26f9140b5a814de4c8fe /lib/bundler/cli.rb | |
parent | cf373ce78652b369797e93b614d2eb490be4516f (diff) | |
download | bundler-fe81be9dfeae10c7092b78d61a9869506d3ac33f.tar.gz |
Validate command switches
Diffstat (limited to 'lib/bundler/cli.rb')
-rw-r--r-- | lib/bundler/cli.rb | 2 |
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 |