added link to 'target triple' in documentation for cargo-metadata and cargo-tree commands

This commit is contained in:
jofas 2023-01-20 15:00:46 +01:00
parent 985d561f0b
commit eaaa48fbaa
2 changed files with 4 additions and 4 deletions

View File

@ -311,7 +311,8 @@ possible value.</dd>
<dt class="option-term" id="option-cargo-metadata---filter-platform"><a class="option-anchor" href="#option-cargo-metadata---filter-platform"></a><code>--filter-platform</code> <em>triple</em></dt>
<dd class="option-desc">This filters the <code>resolve</code> output to only include dependencies for the
given target triple. Without this flag, the resolve includes all targets.</p>
given <a href="../appendix/glossary.md#target">target triple</a>. Without this flag, the resolve includes
all targets.</p>
<p>Note that the dependencies listed in the &quot;packages&quot; array still includes all
dependencies. Each package definition is intended to be an unaltered
reproduction of the information within <code>Cargo.toml</code>.</dd>

View File

@ -137,9 +137,8 @@ kind given, then it will automatically include the other dependency kinds.</li>
<dt class="option-term" id="option-cargo-tree---target"><a class="option-anchor" href="#option-cargo-tree---target"></a><code>--target</code> <em>triple</em></dt>
<dd class="option-desc">Filter dependencies matching the given target-triple. The default is the host
platform. Use the value <code>all</code> to include <em>all</em> targets.</dd>
<dd class="option-desc">Filter dependencies matching the given <a href="../appendix/glossary.md#target">target triple</a>.
The default is the host platform. Use the value <code>all</code> to include <em>all</em> targets.</dd>
</dl>