Skip to content

Commit b8448d7

Browse files
committed
Auto merge of #8766 - weihanglo:cmd/tree-all-targets, r=ehuss
cargo-tree: mention special target `all` in CLI help text Fixes #8567 Actually, `cargo help tree` has already got a [description about `--target=all`](https://github.com/rust-lang/cargo/blob/3045228ee139f970ccc892aa5c34c0f3cb70ee06/src/doc/man/cargo-tree.md#tree-options) in tree options: ```console $ cargo help tree ... OPTIONS Tree Options ... --target triple Filter dependencies matching the given target-triple. The default is the host platform. Use the value all to include all targets. ...
2 parents 47ac484 + 62279ca commit b8448d7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/bin/cargo/commands/tree.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ pub fn cli() -> App {
2626
)
2727
.arg_features()
2828
.arg_target_triple(
29-
"Filter dependencies matching the given target-triple (default host platform)",
29+
"Filter dependencies matching the given target-triple (default host platform). \
30+
Pass `all` to include all targets.",
3031
)
3132
.arg(
3233
Arg::with_name("no-dev-dependencies")

0 commit comments

Comments
 (0)