Skip to content

Commit ab991e0

Browse files
committed
Regenerated man pages with updated documentation wording
Signed-off-by: Ojus Chugh <ojuschugh@gmail.com>
1 parent 38df346 commit ab991e0

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

src/doc/man/generated_txt/cargo-metadata.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -354,8 +354,10 @@ OPTIONS
354354
--filter-platform triple
355355
This filters the resolve output to only include dependencies for the
356356
given target triple
357-
<https://doc.rust-lang.org/cargo/appendix/glossary.html#target>.
358-
Without this flag, the resolve includes all targets.
357+
<https://doc.rust-lang.org/cargo/appendix/glossary.html#target>. A
358+
literal "host-tuple" can be used, which will internally be
359+
substituted by the host’s target. Without this flag, the resolve
360+
includes all targets.
359361

360362
Note that the dependencies listed in the “packages” array still
361363
includes all dependencies. Each package definition is intended to be

src/doc/src/commands/cargo-metadata.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -364,6 +364,7 @@ possible value.</p>
364364
<dt class="option-term" id="option-cargo-metadata---filter-platform"><a class="option-anchor" href="#option-cargo-metadata---filter-platform"><code>--filter-platform</code> <em>triple</em></a></dt>
365365
<dd class="option-desc"><p>This filters the <code>resolve</code> output to only include dependencies for the
366366
given <a href="../appendix/glossary.html#target">target triple</a>.
367+
A literal <code>"host-tuple"</code> can be used, which will internally be substituted by the host’s target.
367368
Without this flag, the resolve includes all targets.</p>
368369
<p>Note that the dependencies listed in the “packages” array still includes all
369370
dependencies. Each package definition is intended to be an unaltered

src/etc/man/cargo-metadata.1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -367,6 +367,7 @@ possible value.
367367
.RS 4
368368
This filters the \fBresolve\fR output to only include dependencies for the
369369
given \fItarget triple\fR <https://doc.rust\-lang.org/cargo/appendix/glossary.html#target>\&.
370+
A literal \fB"host\-tuple"\fR can be used, which will internally be substituted by the host\[cq]s target.
370371
Without this flag, the resolve includes all targets.
371372
.sp
372373
Note that the dependencies listed in the \[lq]packages\[rq] array still includes all

0 commit comments

Comments
 (0)