diff options
| author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2024-12-10 19:27:18 +0100 |
|---|---|---|
| committer | git <svn-admin@ruby-lang.org> | 2024-12-11 17:56:26 +0000 |
| commit | 1806f3facc56b59014ef886af45de4273085a7d9 (patch) | |
| tree | 6e075b61439aefbacebdc66e5b7b5cc92468fd9b /lib | |
| parent | 496e791a2e5a0da6e274b126ca1550e11a1d42ee (diff) | |
[rubygems/rubygems] Add several missing flags to `bundle lock --help`
https://github.com/rubygems/rubygems/commit/4070da1264
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/bundler/man/bundle-lock.1 | 14 | ||||
| -rw-r--r-- | lib/bundler/man/bundle-lock.1.ronn | 17 |
2 files changed, 30 insertions, 1 deletions
diff --git a/lib/bundler/man/bundle-lock.1 b/lib/bundler/man/bundle-lock.1 index 5794b32c6f..91de1b7171 100644 --- a/lib/bundler/man/bundle-lock.1 +++ b/lib/bundler/man/bundle-lock.1 @@ -4,7 +4,7 @@ .SH "NAME" \fBbundle\-lock\fR \- Creates / Updates a lockfile without installing .SH "SYNOPSIS" -\fBbundle lock\fR [\-\-update] [\-\-local] [\-\-print] [\-\-lockfile=PATH] [\-\-full\-index] [\-\-gemfile=GEMFILE] [\-\-add\-platform] [\-\-remove\-platform] [\-\-patch] [\-\-minor] [\-\-major] [\-\-strict] [\-\-conservative] +\fBbundle lock\fR [\-\-update] [\-\-bundler[=BUNDLER]] [\-\-local] [\-\-print] [\-\-lockfile=PATH] [\-\-full\-index] [\-\-gemfile=GEMFILE] [\-\-add\-checkums] [\-\-add\-platform] [\-\-remove\-platform] [\-\-normalize\-platforms] [\-\-patch] [\-\-minor] [\-\-major] [\-\-pre] [\-\-strict] [\-\-conservative] .SH "DESCRIPTION" Lock the gems specified in Gemfile\. .SH "OPTIONS" @@ -12,6 +12,9 @@ Lock the gems specified in Gemfile\. \fB\-\-update=<*gems>\fR Ignores the existing lockfile\. Resolve then updates lockfile\. Taking a list of gems or updating all gems if no list is given\. .TP +\fB\-\-bundler[=BUNDLER]\fR +Update the locked version of bundler to the given version or the latest version if no version is given\. +.TP \fB\-\-local\fR Do not attempt to connect to \fBrubygems\.org\fR\. Instead, Bundler will use the gems already present in Rubygems' cache or in \fBvendor/cache\fR\. Note that if a appropriate platform\-specific gem exists on \fBrubygems\.org\fR it will not be found\. .TP @@ -27,12 +30,18 @@ Fall back to using the single\-file index of all gems\. \fB\-\-gemfile=GEMFILE\fR Use the specified gemfile instead of [\fBGemfile(5)\fR][Gemfile(5)]\. .TP +\fB\-\-add\-checksums\fR +Add checksums to the lockfile\. +.TP \fB\-\-add\-platform\fR Add a new platform to the lockfile, re\-resolving for the addition of that platform\. .TP \fB\-\-remove\-platform\fR Remove a platform from the lockfile\. .TP +\fB\-\-normalize\-platforms\fR +Normalize lockfile platforms\. +.TP \fB\-\-patch\fR If updating, prefer updating only to next patch version\. .TP @@ -42,6 +51,9 @@ If updating, prefer updating only to next minor version\. \fB\-\-major\fR If updating, prefer updating to next major version (default)\. .TP +\fB\-\-pre\fR +If updating, always choose the highest allowed version, regardless of prerelease status\. +.TP \fB\-\-strict\fR If updating, do not allow any gem to be updated past latest \-\-patch | \-\-minor | \-\-major\. .TP diff --git a/lib/bundler/man/bundle-lock.1.ronn b/lib/bundler/man/bundle-lock.1.ronn index 5097571cf1..8e502c29b3 100644 --- a/lib/bundler/man/bundle-lock.1.ronn +++ b/lib/bundler/man/bundle-lock.1.ronn @@ -4,16 +4,20 @@ bundle-lock(1) -- Creates / Updates a lockfile without installing ## SYNOPSIS `bundle lock` [--update] + [--bundler[=BUNDLER]] [--local] [--print] [--lockfile=PATH] [--full-index] [--gemfile=GEMFILE] + [--add-checkums] [--add-platform] [--remove-platform] + [--normalize-platforms] [--patch] [--minor] [--major] + [--pre] [--strict] [--conservative] @@ -27,6 +31,10 @@ Lock the gems specified in Gemfile. Ignores the existing lockfile. Resolve then updates lockfile. Taking a list of gems or updating all gems if no list is given. +* `--bundler[=BUNDLER]`: + Update the locked version of bundler to the given version or the latest + version if no version is given. + * `--local`: Do not attempt to connect to `rubygems.org`. Instead, Bundler will use the gems already present in Rubygems' cache or in `vendor/cache`. Note that if a @@ -45,6 +53,9 @@ Lock the gems specified in Gemfile. * `--gemfile=GEMFILE`: Use the specified gemfile instead of [`Gemfile(5)`][Gemfile(5)]. +* `--add-checksums`: + Add checksums to the lockfile. + * `--add-platform`: Add a new platform to the lockfile, re-resolving for the addition of that platform. @@ -52,6 +63,9 @@ Lock the gems specified in Gemfile. * `--remove-platform`: Remove a platform from the lockfile. +* `--normalize-platforms`: + Normalize lockfile platforms. + * `--patch`: If updating, prefer updating only to next patch version. @@ -61,6 +75,9 @@ Lock the gems specified in Gemfile. * `--major`: If updating, prefer updating to next major version (default). +* `--pre`: + If updating, always choose the highest allowed version, regardless of prerelease status. + * `--strict`: If updating, do not allow any gem to be updated past latest --patch | --minor | --major. |
