doc(carog-tree): new --prune option

This commit is contained in:
Weihang Lo 2021-05-29 11:33:26 +08:00
parent 64f5d10113
commit 07c40a7c86
No known key found for this signature in database
GPG key ID: D7DBF189825E82E7
4 changed files with 16 additions and 0 deletions

View file

@ -71,6 +71,10 @@ flag can be used to display the package's reverse dependencies only with the
subtree of the package given to `-p`.
{{/option}}
{{#option "`--prune` _spec_" }}
Prune the given package from the display of the dependency tree.
{{/option}}
{{#option "`--depth` _depth_" }}
Maximum display depth of the dependency tree. A depth of 1 displays the direct
dependencies, for example.

View file

@ -59,6 +59,9 @@ OPTIONS
package's reverse dependencies only with the subtree of the package
given to -p.
--prune spec
Prune the given package from the display of the dependency tree.
--depth depth
Maximum display depth of the dependency tree. A depth of 1 displays
the direct dependencies, for example.

View file

@ -71,6 +71,10 @@ flag can be used to display the package's reverse dependencies only with the
subtree of the package given to <code>-p</code>.</dd>
<dt class="option-term" id="option-cargo-tree---prune"><a class="option-anchor" href="#option-cargo-tree---prune"></a><code>--prune</code> <em>spec</em></dt>
<dd class="option-desc">Prune the given package from the display of the dependency tree.</dd>
<dt class="option-term" id="option-cargo-tree---depth"><a class="option-anchor" href="#option-cargo-tree---depth"></a><code>--depth</code> <em>depth</em></dt>
<dd class="option-desc">Maximum display depth of the dependency tree. A depth of 1 displays the direct
dependencies, for example.</dd>

View file

@ -69,6 +69,11 @@ flag can be used to display the package's reverse dependencies only with the
subtree of the package given to \fB\-p\fR\&.
.RE
.sp
\fB\-\-prune\fR \fIspec\fR
.RS 4
Prune the given package from the display of the dependency tree.
.RE
.sp
\fB\-\-depth\fR \fIdepth\fR
.RS 4
Maximum display depth of the dependency tree. A depth of 1 displays the direct