mirror of
https://github.com/rust-lang/cargo.git
synced 2025-10-01 11:30:39 +00:00
fix: align cargo --help
text
This commit is contained in:
parent
9fe58acfb7
commit
a6029902ff
@ -518,7 +518,7 @@ pub fn cli() -> Command {
|
|||||||
let usage = if is_rustup {
|
let usage = if is_rustup {
|
||||||
"cargo [+toolchain] [OPTIONS] [COMMAND]\n cargo [+toolchain] [OPTIONS] -Zscript <MANIFEST_RS> [ARGS]..."
|
"cargo [+toolchain] [OPTIONS] [COMMAND]\n cargo [+toolchain] [OPTIONS] -Zscript <MANIFEST_RS> [ARGS]..."
|
||||||
} else {
|
} else {
|
||||||
"cargo [OPTIONS] [COMMAND]\n cargo [OPTIONS] -Zscript <MANIFEST> [ARGS]..."
|
"cargo [OPTIONS] [COMMAND]\n cargo [OPTIONS] -Zscript <MANIFEST_RS> [ARGS]..."
|
||||||
};
|
};
|
||||||
Command::new("cargo")
|
Command::new("cargo")
|
||||||
// Subcommands all count their args' display order independently (from 0),
|
// Subcommands all count their args' display order independently (from 0),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user