diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2022-08-01 17:11:20 +0200 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2022-08-03 16:33:53 +0900 |
commit | 851b3aa7dde489502f517cc1ad9d31d9a3056197 (patch) | |
tree | a9c6a9a86e8da3ae5ccb283f8b8b86db431dce61 /lib/bundler/cli.rb | |
parent | 35c65e7ba6b4aa8bc80aaca8429a48c4eb923b89 (diff) |
[rubygems/rubygems] Fix `bundle outdated --strict`
It should be an alias of `--filter-strict`.
`--update-strict` is essentially a dummy option with no special behavior
associated and should be deprecated.
https://github.com/rubygems/rubygems/commit/ec1e5d83c8
Diffstat (limited to 'lib/bundler/cli.rb')
-rw-r--r-- | lib/bundler/cli.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bundler/cli.rb b/lib/bundler/cli.rb index e9ef47f9ba..0fa646c8ea 100644 --- a/lib/bundler/cli.rb +++ b/lib/bundler/cli.rb @@ -401,9 +401,9 @@ module Bundler "Do not attempt to fetch gems remotely and use the gem cache instead" method_option "pre", :type => :boolean, :banner => "Check for newer pre-release gems" method_option "source", :type => :array, :banner => "Check against a specific source" - method_option "filter-strict", :type => :boolean, :banner => + method_option "filter-strict", :type => :boolean, :aliases => "--strict", :banner => "Only list newer versions allowed by your Gemfile requirements" - method_option "strict", :type => :boolean, :aliases => "--update-strict", :banner => + method_option "update-strict", :type => :boolean, :banner => "Strict conservative resolution, do not allow any gem to be updated past latest --patch | --minor | --major" method_option "minor", :type => :boolean, :banner => "Prefer updating only to next minor version" method_option "major", :type => :boolean, :banner => "Prefer updating to next major version (default)" |