We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e43074 commit ab6e94fCopy full SHA for ab6e94f
src/bin/cargo/commands/tree.rs
@@ -42,11 +42,16 @@ pub fn cli() -> Command {
42
get_pkg_id_spec_candidates,
43
)),
44
)
45
- .arg(multi_opt(
46
- "prune",
47
- "SPEC",
48
- "Prune the given package from the display of the dependency tree",
49
- ))
+ .arg(
+ multi_opt(
+ "prune",
+ "SPEC",
+ "Prune the given package from the display of the dependency tree",
50
+ )
51
+ .add(clap_complete::ArgValueCandidates::new(
52
+ get_pkg_id_spec_candidates,
53
+ )),
54
55
.arg(opt("depth", "Maximum display depth of the dependency tree").value_name("DEPTH"))
56
.arg(flag("no-indent", "Deprecated, use --prefix=none instead").hide(true))
57
.arg(flag("prefix-depth", "Deprecated, use --prefix=depth instead").hide(true))
0 commit comments