fix: align cargo --help text

This commit is contained in:
Weihang Lo 2023-07-31 01:08:14 +01:00
parent 9fe58acfb7
commit a6029902ff
No known key found for this signature in database
GPG Key ID: D7DBF189825E82E7

View File

@ -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),