Skip to content

Commit 83bd9f6

Browse files
committed
Auto merge of #10080 - hi-rustin:rustin-patch-quiet, r=alexcrichton
Improve the help text of the --quiet args for all commands close #8928
2 parents d2cc298 + 17c0ea7 commit 83bd9f6

File tree

121 files changed

+121
-121
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

121 files changed

+121
-121
lines changed

src/bin/cargo/cli.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ See 'cargo help <command>' for more information on a specific command.\n",
438438
.multiple(true)
439439
.global(true),
440440
)
441-
.arg(opt("quiet", "No output printed to stdout").short("q"))
441+
.arg(opt("quiet", "Do not print cargo log messages").short("q"))
442442
.arg(
443443
opt("color", "Coloring: auto, always, never")
444444
.value_name("WHEN")

src/bin/cargo/commands/bench.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ pub fn cli() -> App {
55
subcommand("bench")
66
.setting(AppSettings::TrailingVarArg)
77
.about("Execute all benchmarks of a local package")
8-
.arg(opt("quiet", "No output printed to stdout").short("q"))
8+
.arg(opt("quiet", "Do not print cargo log messages").short("q"))
99
.arg(
1010
Arg::with_name("BENCHNAME")
1111
.help("If specified, only run benches containing this string in their names"),

src/bin/cargo/commands/build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ pub fn cli() -> App {
77
// subcommand aliases are handled in aliased_command()
88
// .alias("b")
99
.about("Compile a local package and all of its dependencies")
10-
.arg(opt("quiet", "No output printed to stdout").short("q"))
10+
.arg(opt("quiet", "Do not print cargo log messages").short("q"))
1111
.arg_package_spec(
1212
"Package to build (see `cargo help pkgid`)",
1313
"Build all packages in the workspace",

src/bin/cargo/commands/check.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ pub fn cli() -> App {
77
// subcommand aliases are handled in aliased_command()
88
// .alias("c")
99
.about("Check a local package and all of its dependencies for errors")
10-
.arg(opt("quiet", "No output printed to stdout").short("q"))
10+
.arg(opt("quiet", "Do not print cargo log messages").short("q"))
1111
.arg_package_spec(
1212
"Package(s) to check",
1313
"Check all packages in the workspace",

src/bin/cargo/commands/clean.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ use cargo::util::print_available_packages;
66
pub fn cli() -> App {
77
subcommand("clean")
88
.about("Remove artifacts that cargo has generated in the past")
9-
.arg(opt("quiet", "No output printed to stdout").short("q"))
9+
.arg(opt("quiet", "Do not print cargo log messages").short("q"))
1010
.arg_package_spec_simple("Package to clean artifacts for")
1111
.arg_manifest_path()
1212
.arg_target_triple("Target triple to clean output for")

src/bin/cargo/commands/doc.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ pub fn cli() -> App {
77
// subcommand aliases are handled in aliased_command()
88
// .alias("d")
99
.about("Build a package's documentation")
10-
.arg(opt("quiet", "No output printed to stdout").short("q"))
10+
.arg(opt("quiet", "Do not print cargo log messages").short("q"))
1111
.arg(opt(
1212
"open",
1313
"Opens the docs in a browser after the operation",

src/bin/cargo/commands/fetch.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ use cargo::ops::FetchOptions;
66
pub fn cli() -> App {
77
subcommand("fetch")
88
.about("Fetch dependencies of a package from the network")
9-
.arg(opt("quiet", "No output printed to stdout").short("q"))
9+
.arg(opt("quiet", "Do not print cargo log messages").short("q"))
1010
.arg_manifest_path()
1111
.arg_target_triple("Fetch dependencies for the target triple")
1212
.after_help("Run `cargo help fetch` for more detailed information.\n")

src/bin/cargo/commands/fix.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ use cargo::ops::{self, CompileFilter, FilterRule, LibRule};
55
pub fn cli() -> App {
66
subcommand("fix")
77
.about("Automatically fix lint warnings reported by rustc")
8-
.arg(opt("quiet", "No output printed to stdout").short("q"))
8+
.arg(opt("quiet", "Do not print cargo log messages").short("q"))
99
.arg_package_spec(
1010
"Package(s) to fix",
1111
"Fix all packages in the workspace",

src/bin/cargo/commands/generate_lockfile.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ use cargo::ops;
55
pub fn cli() -> App {
66
subcommand("generate-lockfile")
77
.about("Generate the lockfile for a package")
8-
.arg(opt("quiet", "No output printed to stdout").short("q"))
8+
.arg(opt("quiet", "Do not print cargo log messages").short("q"))
99
.arg_manifest_path()
1010
.after_help("Run `cargo help generate-lockfile` for more detailed information.\n")
1111
}

src/bin/cargo/commands/init.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ use cargo::ops;
55
pub fn cli() -> App {
66
subcommand("init")
77
.about("Create a new cargo package in an existing directory")
8-
.arg(opt("quiet", "No output printed to stdout").short("q"))
8+
.arg(opt("quiet", "Do not print cargo log messages").short("q"))
99
.arg(Arg::with_name("path").default_value("."))
1010
.arg(opt("registry", "Registry to use").value_name("REGISTRY"))
1111
.arg_new_opts()

0 commit comments

Comments
 (0)