summaryrefslogtreecommitdiff
path: root/lib/bundler/man
diff options
context:
space:
mode:
authorDavid Rodríguez <[email protected]>2024-12-10 19:31:40 +0100
committergit <[email protected]>2024-12-11 17:56:27 +0000
commitf658f6612456fee44058790818690631294a3b25 (patch)
tree7a9589f26e741f50fcaee2f48db491a6f0e5b84b /lib/bundler/man
parentaf11c8ef4f5c0c5ddb3fd9b0e7edec00541323ac (diff)
[rubygems/rubygems] Add missing `--pre` flag to `bundle update --help`
https://github.com/rubygems/rubygems/commit/21335a7378
Diffstat (limited to 'lib/bundler/man')
-rw-r--r--lib/bundler/man/bundle-update.15
-rw-r--r--lib/bundler/man/bundle-update.1.ronn4
2 files changed, 8 insertions, 1 deletions
diff --git a/lib/bundler/man/bundle-update.1 b/lib/bundler/man/bundle-update.1
index b6d91145c1..28af792d85 100644
--- a/lib/bundler/man/bundle-update.1
+++ b/lib/bundler/man/bundle-update.1
@@ -4,7 +4,7 @@
.SH "NAME"
\fBbundle\-update\fR \- Update your gems to the latest available versions
.SH "SYNOPSIS"
-\fBbundle update\fR \fI*gems\fR [\-\-all] [\-\-group=NAME] [\-\-source=NAME] [\-\-local] [\-\-ruby] [\-\-bundler[=VERSION]] [\-\-full\-index] [\-\-gemfile=GEMFILE] [\-\-jobs=JOBS] [\-\-quiet] [\-\-patch|\-\-minor|\-\-major] [\-\-redownload] [\-\-strict] [\-\-conservative]
+\fBbundle update\fR \fI*gems\fR [\-\-all] [\-\-group=NAME] [\-\-source=NAME] [\-\-local] [\-\-ruby] [\-\-bundler[=VERSION]] [\-\-full\-index] [\-\-gemfile=GEMFILE] [\-\-jobs=JOBS] [\-\-quiet] [\-\-patch|\-\-minor|\-\-major] [\-\-pre] [\-\-redownload] [\-\-strict] [\-\-conservative]
.SH "DESCRIPTION"
Update the gems specified (all gems, if \fB\-\-all\fR flag is used), ignoring the previously installed gems specified in the \fBGemfile\.lock\fR\. In general, you should use bundle install(1) \fIbundle\-install\.1\.html\fR to install the same exact gems and versions across machines\.
.P
@@ -56,6 +56,9 @@ Prefer updating only to next minor version\.
\fB\-\-major\fR
Prefer updating to next major version (default)\.
.TP
+\fB\-\-pre\fR
+Always choose the highest allowed version, regardless of prerelease status\.
+.TP
\fB\-\-strict\fR
Do not allow any gem to be updated past latest \fB\-\-patch\fR | \fB\-\-minor\fR | \fB\-\-major\fR\.
.TP
diff --git a/lib/bundler/man/bundle-update.1.ronn b/lib/bundler/man/bundle-update.1.ronn
index 7840bc0b0f..e52866075c 100644
--- a/lib/bundler/man/bundle-update.1.ronn
+++ b/lib/bundler/man/bundle-update.1.ronn
@@ -14,6 +14,7 @@ bundle-update(1) -- Update your gems to the latest available versions
[--jobs=JOBS]
[--quiet]
[--patch|--minor|--major]
+ [--pre]
[--redownload]
[--strict]
[--conservative]
@@ -81,6 +82,9 @@ gem.
* `--major`:
Prefer updating to next major version (default).
+* `--pre`:
+ Always choose the highest allowed version, regardless of prerelease status.
+
* `--strict`:
Do not allow any gem to be updated past latest `--patch` | `--minor` | `--major`.