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,17 +25,14 @@ pub fn cli() -> Command {
|
|||||||
.arg(
|
.arg(
|
||||||
flag(
|
flag(
|
||||||
"aggressive",
|
"aggressive",
|
||||||
"Force updating all dependencies of SPEC as well when used with -p",
|
"Force updating all dependencies of [SPEC]... as well",
|
||||||
)
|
)
|
||||||
.conflicts_with("precise"),
|
.conflicts_with("precise"),
|
||||||
)
|
)
|
||||||
.arg(
|
.arg(
|
||||||
opt(
|
opt("precise", "Update [SPEC] to exactly PRECISE")
|
||||||
"precise",
|
.value_name("PRECISE")
|
||||||
"Update a single dependency to exactly PRECISE when used with -p",
|
.requires("package-group"),
|
||||||
)
|
|
||||||
.value_name("PRECISE")
|
|
||||||
.requires("package-group"),
|
|
||||||
)
|
)
|
||||||
.arg_quiet()
|
.arg_quiet()
|
||||||
.arg(
|
.arg(
|
||||||
|
@ -4,8 +4,8 @@ Usage: cargo[EXE] update [OPTIONS] [SPEC]...
|
|||||||
|
|
||||||
Options:
|
Options:
|
||||||
--dry-run Don't actually write the lockfile
|
--dry-run Don't actually write the lockfile
|
||||||
--aggressive Force updating all dependencies of SPEC as well when used with -p
|
--aggressive Force updating all dependencies of [SPEC]... as well
|
||||||
--precise <PRECISE> Update a single dependency to exactly PRECISE when used with -p
|
--precise <PRECISE> Update [SPEC] to exactly PRECISE
|
||||||
-q, --quiet Do not print cargo log messages
|
-q, --quiet Do not print cargo log messages
|
||||||
-v, --verbose... Use verbose output (-vv very verbose/build.rs output)
|
-v, --verbose... Use verbose output (-vv very verbose/build.rs output)
|
||||||
--color <WHEN> Coloring: auto, always, never
|
--color <WHEN> Coloring: auto, always, never
|
||||||
|
Loading…
x
Reference in New Issue
Block a user