Skip to content

Commit 2a01773

Browse files
Add missing flag documentation to bundle inject --help
1 parent 5022b49 commit 2a01773

File tree

2 files changed

+18
-2
lines changed

2 files changed

+18
-2
lines changed

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

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
.SH "NAME"
55
\fBbundle\-inject\fR \- Add named gem(s) with version requirements to Gemfile
66
.SH "SYNOPSIS"
7-
\fBbundle inject\fR [GEM] [VERSION]
7+
\fBbundle inject\fR [GEM] [VERSION] [\-\-source=SOURCE] [\-\-group=GROUP]
88
.SH "DESCRIPTION"
99
Adds the named gem(s) with their version requirements to the resolved [\fBGemfile(5)\fR][Gemfile(5)]\.
1010
.P
@@ -21,3 +21,11 @@ bundle inject 'rack' '> 0'
2121
This will inject the 'rack' gem with a version greater than 0 in your [\fBGemfile(5)\fR][Gemfile(5)] and Gemfile\.lock\.
2222
.P
2323
The \fBbundle inject\fR command was deprecated in Bundler 2\.1 and will be removed in Bundler 3\.0\.
24+
.SH "OPTIONS"
25+
.TP
26+
\fB\-\-source=SOURCE\fR
27+
Install gem from the given source\.
28+
.TP
29+
\fB\-\-group=GROUP\fR
30+
Install gem into a bundler group\.
31+

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

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ bundle-inject(1) -- Add named gem(s) with version requirements to Gemfile
33

44
## SYNOPSIS
55

6-
`bundle inject` [GEM] [VERSION]
6+
`bundle inject` [GEM] [VERSION] [--source=SOURCE] [--group=GROUP]
77

88
## DESCRIPTION
99

@@ -22,3 +22,11 @@ This will inject the 'rack' gem with a version greater than 0 in your
2222
[`Gemfile(5)`][Gemfile(5)] and Gemfile.lock.
2323

2424
The `bundle inject` command was deprecated in Bundler 2.1 and will be removed in Bundler 3.0.
25+
26+
## OPTIONS
27+
28+
* `--source=SOURCE`:
29+
Install gem from the given source.
30+
31+
* `--group=GROUP`:
32+
Install gem into a bundler group.

0 commit comments

Comments
 (0)