mirror of
https://github.com/rust-lang/cargo.git
synced 2025-10-01 11:30:39 +00:00
Auto merge of #12586 - epage:positional, r=weihanglo
fix(update): Remove references to -p in help Missed these in #12545
This commit is contained in:
commit
87a14ed1c6
@ -25,15 +25,12 @@ pub fn cli() -> Command {
|
||||
.arg(
|
||||
flag(
|
||||
"aggressive",
|
||||
"Force updating all dependencies of SPEC as well when used with -p",
|
||||
"Force updating all dependencies of [SPEC]... as well",
|
||||
)
|
||||
.conflicts_with("precise"),
|
||||
)
|
||||
.arg(
|
||||
opt(
|
||||
"precise",
|
||||
"Update a single dependency to exactly PRECISE when used with -p",
|
||||
)
|
||||
opt("precise", "Update [SPEC] to exactly PRECISE")
|
||||
.value_name("PRECISE")
|
||||
.requires("package-group"),
|
||||
)
|
||||
|
@ -4,8 +4,8 @@ Usage: cargo[EXE] update [OPTIONS] [SPEC]...
|
||||
|
||||
Options:
|
||||
--dry-run Don't actually write the lockfile
|
||||
--aggressive Force updating all dependencies of SPEC as well when used with -p
|
||||
--precise <PRECISE> Update a single dependency to exactly PRECISE when used with -p
|
||||
--aggressive Force updating all dependencies of [SPEC]... as well
|
||||
--precise <PRECISE> Update [SPEC] to exactly PRECISE
|
||||
-q, --quiet Do not print cargo log messages
|
||||
-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