Skip to content

Commit

Permalink
Align command line examples in "cargo help test"
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
mgeisler committed Oct 29, 2017
1 parent 1c9dc0a commit 7bfa2b1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/bin/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -101,19 +101,19 @@ 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.
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 {
Expand Down

0 comments on commit 7bfa2b1

Please sign in to comment.