diff --git a/src/cargo/ops/cargo_update.rs b/src/cargo/ops/cargo_update.rs index 4fb7c30509e..a40ea601e5b 100644 --- a/src/cargo/ops/cargo_update.rs +++ b/src/cargo/ops/cargo_update.rs @@ -694,7 +694,7 @@ fn print_lockfile_updates( if ws.gctx().shell().verbosity() == Verbosity::Verbose { ws.gctx().shell().note( - "to see how you depend on a package, run `cargo tree --invert --package @`", + "to see how you depend on a package, run `cargo tree --all-features --invert @`", )?; } else { if 0 < unchanged_behind { diff --git a/tests/testsuite/update.rs b/tests/testsuite/update.rs index 87c36293dc2..692eafce96e 100644 --- a/tests/testsuite/update.rs +++ b/tests/testsuite/update.rs @@ -1535,7 +1535,7 @@ fn report_behind() { [UPDATING] breaking v0.1.0 -> v0.1.1 (available: v0.2.0) [UNCHANGED] pre v1.0.0-alpha.0 (available: v1.0.0-alpha.1) [UNCHANGED] two-ver v0.1.0 (available: v0.2.0) -[NOTE] to see how you depend on a package, run `cargo tree --invert --package @` +[NOTE] to see how you depend on a package, run `cargo tree --all-features --invert @` [WARNING] not updating lockfile due to dry run "#]]) @@ -1560,7 +1560,7 @@ fn report_behind() { [UNCHANGED] breaking v0.1.1 (available: v0.2.0) [UNCHANGED] pre v1.0.0-alpha.0 (available: v1.0.0-alpha.1) [UNCHANGED] two-ver v0.1.0 (available: v0.2.0) -[NOTE] to see how you depend on a package, run `cargo tree --invert --package @` +[NOTE] to see how you depend on a package, run `cargo tree --all-features --invert @` [WARNING] not updating lockfile due to dry run "#]])