Skip to content

Commit d8334d5

Browse files
committed
doc(cargo-tree): add --depth option
1 parent 62d811d commit d8334d5

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/doc/man/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 `-p`.
7272
{{/option}}
7373

74+
{{#option "`--depth` _depth_" }}
75+
Maximum display depth of the dependency tree. A depth of 1 displays the direct
76+
dependencies, for example.
77+
{{/option}}
78+
7479
{{#option "`--no-dedupe`" }}
7580
Do not de-duplicate repeated dependencies. Usually, when a package has already
7681
displayed its dependencies, further occurrences will not re-display its

0 commit comments

Comments
 (0)