File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ Upgrade dependency version requirements in Cargo.toml manifest files
7474Usage: cargo upgrade [OPTIONS]
7575
7676Options:
77- --dry-run Print changes to be made without making them
77+ -n, --dry-run Print changes to be made without making them
7878 --manifest-path <PATH> Path to the manifest to upgrade
7979 --rust-version <VER> Override `rust-version`
8080 --ignore-rust-version Ignore `rust-version` specification in packages
@@ -133,7 +133,7 @@ Options:
133133 -p, --package <PKGID> Package id of the crate to change the version of
134134 --all [deprecated in favor of `--workspace`]
135135 --workspace Modify all packages in the workspace
136- --dry-run Print changes to be made without making them
136+ -n, --dry-run Print changes to be made without making them
137137 --exclude <EXCLUDE> Crates to exclude and not modify
138138 --offline Run without accessing the network
139139 --locked Require `Cargo.toml` to be up to date
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ pub struct VersionArgs {
5353 workspace : bool ,
5454
5555 /// Print changes to be made without making them.
56- #[ arg( long) ]
56+ #[ arg( long, short = 'n' ) ]
5757 dry_run : bool ,
5858
5959 /// Crates to exclude and not modify.
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ use termcolor::{Color, ColorSpec};
1919#[ command( version) ]
2020pub struct UpgradeArgs {
2121 /// Print changes to be made without making them.
22- #[ arg( long) ]
22+ #[ arg( long, short = 'n' ) ]
2323 dry_run : bool ,
2424
2525 /// Path to the manifest to upgrade
You can’t perform that action at this time.
0 commit comments