mirror of
https://github.com/rust-lang/cargo.git
synced 2025-09-28 11:20:36 +00:00
Auto merge of #12418 - weihanglo:help-text, r=ehuss
fix: align `cargo --help` text
This commit is contained in:
commit
c91a693e79
@ -518,7 +518,7 @@ pub fn cli() -> Command {
|
||||
let usage = if is_rustup {
|
||||
"cargo [+toolchain] [OPTIONS] [COMMAND]\n cargo [+toolchain] [OPTIONS] -Zscript <MANIFEST_RS> [ARGS]..."
|
||||
} else {
|
||||
"cargo [OPTIONS] [COMMAND]\n cargo [OPTIONS] -Zscript <MANIFEST> [ARGS]..."
|
||||
"cargo [OPTIONS] [COMMAND]\n cargo [OPTIONS] -Zscript <MANIFEST_RS> [ARGS]..."
|
||||
};
|
||||
Command::new("cargo")
|
||||
// Subcommands all count their args' display order independently (from 0),
|
||||
|
Loading…
x
Reference in New Issue
Block a user