From 7bfa2b170ad8c3ab4c52b2afd36f7dc4caf07460 Mon Sep 17 00:00:00 2001 From: Martin Geisler Date: Sun, 29 Oct 2017 13:21:53 +0100 Subject: [PATCH] Align command line examples in "cargo help test" The initial example used an indentation of four spaces, the other examples used only two spaces. They now all use four spaces. I checked all other Cargo commands and found no other such problems. --- src/bin/test.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/bin/test.rs b/src/bin/test.rs index 2208a18afdd..a663e06091b 100644 --- a/src/bin/test.rs +++ b/src/bin/test.rs @@ -101,7 +101,7 @@ for the --jobs argument is the number of CPUs. If you want to control the number of simultaneous running test cases, pass the `--test-threads` option to the test binaries: - cargo test -- --test-threads=1 + cargo test -- --test-threads=1 Compilation can be configured via the `test` profile in the manifest. @@ -109,11 +109,11 @@ By default the rust test harness hides output from test execution to keep results readable. Test output can be recovered (e.g. for debugging) by passing `--nocapture` to the test binaries: - cargo test -- --nocapture + cargo test -- --nocapture To get the list of all options available for the test binaries use this: - cargo test -- --help + cargo test -- --help "; pub fn execute(options: Options, config: &mut Config) -> CliResult {