diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2022-03-01 13:46:49 +0100 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2022-03-06 22:17:00 +0900 |
commit | 156079a85d29a137521e6b911a39c25f35a960d2 (patch) | |
tree | 285775d52f3f042a025d45937c850cd404864fc3 /lib/bundler/man/bundle-outdated.1.ronn | |
parent | 7cc0c53169759996f75eacd7cceb2ea8d47c57d7 (diff) |
[rubygems/rubygems] Make `--strict` flag of `update` and `outdated` commands consistent
Previously they had slightly different behavior when combined with
conservative updating flags.
The correct behavior is the `--update-strict` option, so `--script` now
does that, The `--update-strict` option is left there for now but I will
deprecate it later.
https://github.com/rubygems/rubygems/commit/ab42046229
Diffstat (limited to 'lib/bundler/man/bundle-outdated.1.ronn')
-rw-r--r-- | lib/bundler/man/bundle-outdated.1.ronn | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/lib/bundler/man/bundle-outdated.1.ronn b/lib/bundler/man/bundle-outdated.1.ronn index a991d23789..04096ffbb6 100644 --- a/lib/bundler/man/bundle-outdated.1.ronn +++ b/lib/bundler/man/bundle-outdated.1.ronn @@ -10,7 +10,6 @@ bundle-outdated(1) -- List installed gems with newer versions available [--parseable | --porcelain] [--group=GROUP] [--groups] - [--update-strict] [--patch|--minor|--major] [--filter-major] [--filter-minor] @@ -36,7 +35,7 @@ are up to date, Bundler will exit with a status of 0. Otherwise, it will exit 1. Check against a specific source. * `--strict`: - Only list newer versions allowed by your Gemfile requirements. + Only list newer versions allowed by your Gemfile requirements, also respecting conservative update flags (--patch, --minor, --major). * `--parseable`, `--porcelain`: Use minimal formatting for more parseable output. @@ -47,9 +46,6 @@ are up to date, Bundler will exit with a status of 0. Otherwise, it will exit 1. * `--groups`: List gems organized by groups. -* `--update-strict`: - Strict conservative resolution, do not allow any gem to be updated past latest --patch | --minor| --major. - * `--minor`: Prefer updating only to next minor version. @@ -75,11 +71,6 @@ are up to date, Bundler will exit with a status of 0. Otherwise, it will exit 1. See [bundle update(1)](bundle-update.1.html) for details. -One difference between the patch level options in `bundle update` and here is the `--strict` option. -`--strict` was already an option on outdated before the patch level options were added. `--strict` -wasn't altered, and the `--update-strict` option on `outdated` reflects what `--strict` does on -`bundle update`. - ## FILTERING OUTPUT The 3 filtering options do not affect the resolution of versions, merely what versions are shown |