mirror of
https://github.com/rust-lang/cargo.git
synced 2025-09-25 11:14:46 +00:00
fix(update): Group -p related flags
This commit is contained in:
parent
57762917fb
commit
4fd0c3c46c
@ -16,7 +16,6 @@ pub fn cli() -> Command {
|
||||
)
|
||||
.conflicts_with("precise"),
|
||||
)
|
||||
.arg_dry_run("Don't actually write the lockfile")
|
||||
.arg(
|
||||
opt(
|
||||
"precise",
|
||||
@ -26,6 +25,7 @@ pub fn cli() -> Command {
|
||||
.requires("package"),
|
||||
)
|
||||
.arg_manifest_path()
|
||||
.arg_dry_run("Don't actually write the lockfile")
|
||||
.after_help("Run `cargo help update` for more detailed information.\n")
|
||||
}
|
||||
|
||||
|
@ -7,9 +7,9 @@ Options:
|
||||
-w, --workspace Only update the workspace packages
|
||||
-p, --package [<SPEC>] Package to update
|
||||
--aggressive Force updating all dependencies of SPEC as well when used with -p
|
||||
--dry-run Don't actually write the lockfile
|
||||
--precise <PRECISE> Update a single dependency to exactly PRECISE when used with -p
|
||||
--manifest-path <PATH> Path to Cargo.toml
|
||||
--dry-run Don't actually write the lockfile
|
||||
-h, --help Print help
|
||||
-v, --verbose... Use verbose output (-vv very verbose/build.rs output)
|
||||
--color <WHEN> Coloring: auto, always, never
|
||||
|
Loading…
x
Reference in New Issue
Block a user