Skip to content

Commit

Permalink
chore: adjusting note message for #14513
Browse files Browse the repository at this point in the history
  • Loading branch information
TaylorHo committed Sep 7, 2024
1 parent 2ddc46a commit 8cf528b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/cargo/ops/cargo_update.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 <dep>@<ver>`",
"to see how you depend on a package, run `cargo tree --invert --target all --package <dep>@<ver>`",
)?;
} else {
if 0 < unchanged_behind {
Expand Down
4 changes: 2 additions & 2 deletions tests/testsuite/update.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1536,7 +1536,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 <dep>@<ver>`
[NOTE] to see how you depend on a package, run `cargo tree --invert --target all --package <dep>@<ver>`
[WARNING] not updating lockfile due to dry run
"#]])
Expand All @@ -1561,7 +1561,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 <dep>@<ver>`
[NOTE] to see how you depend on a package, run `cargo tree --invert --target all --package <dep>@<ver>`
[WARNING] not updating lockfile due to dry run
"#]])
Expand Down

0 comments on commit 8cf528b

Please sign in to comment.