From 88c04e7f2ca7fd320a88483be8747ae93f489266 Mon Sep 17 00:00:00 2001 From: Shoyu Vanilla Date: Fri, 13 Dec 2024 04:49:12 +0900 Subject: [PATCH] docs(tree): update descriptions for `--depth` flag --- src/doc/man/cargo-tree.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/doc/man/cargo-tree.md b/src/doc/man/cargo-tree.md index ce99b761e7dc..fc3521c99399 100644 --- a/src/doc/man/cargo-tree.md +++ b/src/doc/man/cargo-tree.md @@ -96,6 +96,9 @@ Prune the given package from the display of the dependency tree. {{#option "`--depth` _depth_" }} Maximum display depth of the dependency tree. A depth of 1 displays the direct dependencies, for example. + +If the given value is `workspace`, only shows the dependencies that are member +of the current workspace, instead. {{/option}} {{#option "`--no-dedupe`" }}