Skip to content

Commit 37c1b90

Browse files
committed
Auto merge of #4675 - mgeisler:align-cmdline-examples, r=alexcrichton
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.
2 parents 50f55b5 + 7bfa2b1 commit 37c1b90

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/bin/test.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,19 +101,19 @@ for the --jobs argument is the number of CPUs. If you want to control the
101101
number of simultaneous running test cases, pass the `--test-threads` option
102102
to the test binaries:
103103
104-
cargo test -- --test-threads=1
104+
cargo test -- --test-threads=1
105105
106106
Compilation can be configured via the `test` profile in the manifest.
107107
108108
By default the rust test harness hides output from test execution to
109109
keep results readable. Test output can be recovered (e.g. for debugging)
110110
by passing `--nocapture` to the test binaries:
111111
112-
cargo test -- --nocapture
112+
cargo test -- --nocapture
113113
114114
To get the list of all options available for the test binaries use this:
115115
116-
cargo test -- --help
116+
cargo test -- --help
117117
";
118118

119119
pub fn execute(options: Options, config: &mut Config) -> CliResult {

0 commit comments

Comments
 (0)