diff options
author | Dimitris Zorbas <zorbash@skroutz.gr> | 2016-08-14 17:58:00 +0300 |
---|---|---|
committer | Dimitris Zorbas <zorbash@skroutz.gr> | 2016-08-14 18:34:40 +0300 |
commit | 11b4178f0e2e8a03e631f18053e96f3356780780 (patch) | |
tree | b2af4d5217dca6fe0c4309a78dc5f7e6302159dd | |
parent | 1873fa56790c582bbc744e558224b94d64184267 (diff) | |
download | bundler-11b4178f0e2e8a03e631f18053e96f3356780780.tar.gz |
Change standalone flag of binstubs cmd to boolean
This flag was introduced in #4610 declared with the same code as the flag
found in the `install` command.
In the case of the `install` command, it makes sense to be an Array option, since
one can specify groups.
This doesn't hold true for the `binstubs` cmd where `--standalone` stands to signify
whether the generated stubs will require the Bundler runtime or not.
-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 a20c76b30f..a90231d138 100644 --- a/lib/bundler/cli.rb +++ b/lib/bundler/cli.rb @@ -255,7 +255,7 @@ module Bundler "Overwrite existing binstubs if they exist" method_option "path", :type => :string, :lazy_default => "bin", :banner => "Binstub destination directory (default bin)" - method_option "standalone", :type => :array, :lazy_default => [], :banner => + method_option "standalone", :type => :boolean, :banner => "Make binstubs that can work without the Bundler runtime" def binstubs(*gems) require "bundler/cli/binstubs" |