Skip to content

Commit 21335a7

Browse files
Add missing --pre flag to bundle update --help
1 parent 2864e54 commit 21335a7

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

bundler/lib/bundler/man/bundle-update.1

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
.SH "NAME"
55
\fBbundle\-update\fR \- Update your gems to the latest available versions
66
.SH "SYNOPSIS"
7-
\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]
7+
\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]
88
.SH "DESCRIPTION"
99
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\.
1010
.P
@@ -56,6 +56,9 @@ Prefer updating only to next minor version\.
5656
\fB\-\-major\fR
5757
Prefer updating to next major version (default)\.
5858
.TP
59+
\fB\-\-pre\fR
60+
Always choose the highest allowed version, regardless of prerelease status\.
61+
.TP
5962
\fB\-\-strict\fR
6063
Do not allow any gem to be updated past latest \fB\-\-patch\fR | \fB\-\-minor\fR | \fB\-\-major\fR\.
6164
.TP

bundler/lib/bundler/man/bundle-update.1.ronn

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ bundle-update(1) -- Update your gems to the latest available versions
1414
[--jobs=JOBS]
1515
[--quiet]
1616
[--patch|--minor|--major]
17+
[--pre]
1718
[--redownload]
1819
[--strict]
1920
[--conservative]
@@ -81,6 +82,9 @@ gem.
8182
* `--major`:
8283
Prefer updating to next major version (default).
8384

85+
* `--pre`:
86+
Always choose the highest allowed version, regardless of prerelease status.
87+
8488
* `--strict`:
8589
Do not allow any gem to be updated past latest `--patch` | `--minor` | `--major`.
8690

0 commit comments

Comments
 (0)