Skip to content

Commit a0fb62f

Browse files
committed
Add --index to install man page.
1 parent 1e0d380 commit a0fb62f

File tree

3 files changed

+13
-2
lines changed

3 files changed

+13
-2
lines changed

src/doc/man/cargo-install.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,8 @@ available.
135135

136136
include::options-registry.adoc[]
137137

138+
include::options-index.adoc[]
139+
138140
include::options-features.adoc[]
139141

140142
=== Compilation Options

src/doc/man/generated/cargo-install.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,10 @@ <h3 id="cargo_install_install_options">Install Options</h3>
197197
If not specified, the default registry is used, which is defined by the
198198
<code>registry.default</code> config key which defaults to <code>crates-io</code>.</p>
199199
</dd>
200+
<dt class="hdlist1"><strong>--index</strong> <em>INDEX</em></dt>
201+
<dd>
202+
<p>The URL of the registry index to use.</p>
203+
</dd>
200204
</dl>
201205
</div>
202206
</div>

src/etc/man/cargo-install.1

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
.\" Title: cargo-install
33
.\" Author: [see the "AUTHOR(S)" section]
44
.\" Generator: Asciidoctor 2.0.10
5-
.\" Date: 2020-02-06
5+
.\" Date: 2020-06-14
66
.\" Manual: \ \&
77
.\" Source: \ \&
88
.\" Language: English
99
.\"
10-
.TH "CARGO\-INSTALL" "1" "2020-02-06" "\ \&" "\ \&"
10+
.TH "CARGO\-INSTALL" "1" "2020-06-14" "\ \&" "\ \&"
1111
.ie \n(.g .ds Aq \(aq
1212
.el .ds Aq '
1313
.ss \n[.ss] 0
@@ -293,6 +293,11 @@ Name of the registry to use. Registry names are defined in \c
293293
If not specified, the default registry is used, which is defined by the
294294
\fBregistry.default\fP config key which defaults to \fBcrates\-io\fP.
295295
.RE
296+
.sp
297+
\fB\-\-index\fP \fIINDEX\fP
298+
.RS 4
299+
The URL of the registry index to use.
300+
.RE
296301
.SS "Feature Selection"
297302
.sp
298303
The feature flags allow you to control the enabled features for the "current"

0 commit comments

Comments
 (0)