Skip to content

Commit 40791da

Browse files
committed
doc: generated via build-man.sh
1 parent d8334d5 commit 40791da

File tree

3 files changed

+15
-0
lines changed

3 files changed

+15
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,10 @@ OPTIONS
5959
package's reverse dependencies only with the subtree of the package
6060
given to -p.
6161

62+
--depth depth
63+
Maximum display depth of the dependency tree. A depth of 1 displays
64+
the direct dependencies, for example.
65+
6266
--no-dedupe
6367
Do not de-duplicate repeated dependencies. Usually, when a package
6468
has already displayed its dependencies, further occurrences will not

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,11 @@ flag can be used to display the package's reverse dependencies only with the
7171
subtree of the package given to <code>-p</code>.</dd>
7272

7373

74+
<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>
75+
<dd class="option-desc">Maximum display depth of the dependency tree. A depth of 1 displays the direct
76+
dependencies, for example.</dd>
77+
78+
7479
<dt class="option-term" id="option-cargo-tree---no-dedupe"><a class="option-anchor" href="#option-cargo-tree---no-dedupe"></a><code>--no-dedupe</code></dt>
7580
<dd class="option-desc">Do not de-duplicate repeated dependencies. Usually, when a package has already
7681
displayed its dependencies, further occurrences will not re-display its

src/etc/man/cargo-tree.1

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,12 @@ flag can be used to display the package's reverse dependencies only with the
6969
subtree of the package given to \fB\-p\fR\&.
7070
.RE
7171
.sp
72+
\fB\-\-depth\fR \fIdepth\fR
73+
.RS 4
74+
Maximum display depth of the dependency tree. A depth of 1 displays the direct
75+
dependencies, for example.
76+
.RE
77+
.sp
7278
\fB\-\-no\-dedupe\fR
7379
.RS 4
7480
Do not de\-duplicate repeated dependencies. Usually, when a package has already

0 commit comments

Comments
 (0)