Skip to content

Commit 1685e3a

Browse files
committed
Add package/pack aliases to man pages for cache
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
1 parent a121616 commit 1685e3a

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
.SH "SYNOPSIS"
1010
\fBbundle cache\fR
1111
.
12+
.P
13+
alias: \fBpackage\fR, \fBpack\fR
14+
.
1215
.SH "DESCRIPTION"
1316
Copy all of the \fB\.gem\fR files needed to run the application into the \fBvendor/cache\fR directory\. In the future, when running [bundle install(1)][bundle\-install], use the gems in the cache in preference to the ones on \fBrubygems\.org\fR\.
1417
.
@@ -53,3 +56,6 @@ One way to be sure that you have the right platformed versions of all your gems
5356
.
5457
.P
5558
By default, bundle cache(1) \fIbundle\-cache\.1\.html\fR fetches and also installs the gems to the default location\. To package the dependencies to \fBvendor/cache\fR without installing them to the local install location, you can run \fBbundle cache \-\-no\-install\fR\.
59+
.
60+
.SH "HISTORY"
61+
In Bundler 2\.1, \fBcache\fR took in the functionalities of \fBpackage\fR and now \fBpackage\fR and \fBpack\fR are aliases of \fBcache\fR\.

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ bundle-cache(1) -- Package your needed `.gem` files into your application
55

66
`bundle cache`
77

8+
alias: `package`, `pack`
9+
810
## DESCRIPTION
911

1012
Copy all of the `.gem` files needed to run the application into the
@@ -70,3 +72,8 @@ By default, [bundle cache(1)](bundle-cache.1.html) fetches and also
7072
installs the gems to the default location. To package the
7173
dependencies to `vendor/cache` without installing them to the
7274
local install location, you can run `bundle cache --no-install`.
75+
76+
## HISTORY
77+
78+
In Bundler 2.1, `cache` took in the functionalities of `package` and now
79+
`package` and `pack` are aliases of `cache`.

0 commit comments

Comments
 (0)