From 367fe7bfcb4c9ea4b8511bf198c9ccb539ebcf2e Mon Sep 17 00:00:00 2001 From: KaneGreen <737445366KG@Gmail.com> Date: Mon, 17 Feb 2020 10:11:27 +0800 Subject: [PATCH] Modified the help information of cargo-rustc --- src/bin/cargo/commands/rustc.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bin/cargo/commands/rustc.rs b/src/bin/cargo/commands/rustc.rs index 82fdcfd44e4..ec528ff459d 100644 --- a/src/bin/cargo/commands/rustc.rs +++ b/src/bin/cargo/commands/rustc.rs @@ -5,9 +5,9 @@ use cargo::ops; pub fn cli() -> App { subcommand("rustc") .setting(AppSettings::TrailingVarArg) - .about("Compile a package and all of its dependencies") + .about("Compile a package, and pass extra options to the compiler") .arg(opt("quiet", "No output printed to stdout").short("q")) - .arg(Arg::with_name("args").multiple(true)) + .arg(Arg::with_name("args").multiple(true).help("Rustc flags")) .arg_package("Package to build") .arg_jobs() .arg_targets_all(