mirror of
https://github.com/rust-lang/cargo
synced 2024-10-02 14:04:23 +00:00
doc(carog-tree): new --prune
option
This commit is contained in:
parent
64f5d10113
commit
07c40a7c86
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue