diff --git a/src/doc/man/cargo-bench.adoc b/src/doc/man/cargo-bench.adoc index 2dd8f20ee14..c65c66c9ea9 100644 --- a/src/doc/man/cargo-bench.adoc +++ b/src/doc/man/cargo-bench.adoc @@ -21,7 +21,7 @@ the two dashes (`--`) are passed to the benchmark binaries and thus to _libtest_ (rustc's built in unit-test and micro-benchmarking framework). If you're passing arguments to both Cargo and the binary, the ones after `--` go to the binary, the ones before go to Cargo. For details about libtest's -arguments see the output of `cargo bench -- --help`. As an example, this will +arguments see the output of `cargo bench \-- --help`. As an example, this will run only the benchmark named `foo` (and skip other similarly named benchmarks like `foobar`): diff --git a/src/doc/man/cargo-test.adoc b/src/doc/man/cargo-test.adoc index 7f198526572..a4e6d80ed4c 100644 --- a/src/doc/man/cargo-test.adoc +++ b/src/doc/man/cargo-test.adoc @@ -21,7 +21,7 @@ dashes (`--`) are passed to the test binaries and thus to _libtest_ (rustc's built in unit-test and micro-benchmarking framework). If you're passing arguments to both Cargo and the binary, the ones after `--` go to the binary, the ones before go to Cargo. For details about libtest's arguments see the -output of `cargo test -- --help`. As an example, this will run all tests with +output of `cargo test \-- --help`. As an example, this will run all tests with `foo` in their name on 3 threads in parallel: cargo test foo -- --test-threads 3 diff --git a/src/doc/man/generated/cargo-bench.html b/src/doc/man/generated/cargo-bench.html index c25ebe82798..6694d78a7f9 100644 --- a/src/doc/man/generated/cargo-bench.html +++ b/src/doc/man/generated/cargo-bench.html @@ -22,7 +22,7 @@

DESCRIPTION

libtest (rustc’s built in unit-test and micro-benchmarking framework). If you’re passing arguments to both Cargo and the binary, the ones after -- go to the binary, the ones before go to Cargo. For details about libtest’s -arguments see the output of cargo bench — --help. As an example, this will +arguments see the output of cargo bench -- --help. As an example, this will run only the benchmark named foo (and skip other similarly named benchmarks like foobar):

diff --git a/src/doc/man/generated/cargo-test.html b/src/doc/man/generated/cargo-test.html index 2bf94d7ac60..faa7ee72292 100644 --- a/src/doc/man/generated/cargo-test.html +++ b/src/doc/man/generated/cargo-test.html @@ -22,7 +22,7 @@

DESCRIPTION

built in unit-test and micro-benchmarking framework). If you’re passing arguments to both Cargo and the binary, the ones after -- go to the binary, the ones before go to Cargo. For details about libtest’s arguments see the -output of cargo test — --help. As an example, this will run all tests with +output of cargo test -- --help. As an example, this will run all tests with foo in their name on 3 threads in parallel:

diff --git a/src/etc/man/cargo-bench.1 b/src/etc/man/cargo-bench.1 index 3d4bdc35792..390e702c2ea 100644 --- a/src/etc/man/cargo-bench.1 +++ b/src/etc/man/cargo-bench.1 @@ -2,12 +2,12 @@ .\" Title: cargo-bench .\" Author: [see the "AUTHOR(S)" section] .\" Generator: Asciidoctor 2.0.10 -.\" Date: 2019-12-05 +.\" Date: 2020-01-18 .\" Manual: \ \& .\" Source: \ \& .\" Language: English .\" -.TH "CARGO\-BENCH" "1" "2019-12-05" "\ \&" "\ \&" +.TH "CARGO\-BENCH" "1" "2020-01-18" "\ \&" "\ \&" .ie \n(.g .ds Aq \(aq .el .ds Aq ' .ss \n[.ss] 0 @@ -41,7 +41,7 @@ the two dashes (\fB\-\-\fP) are passed to the benchmark binaries and thus to \fIlibtest\fP (rustc\(cqs built in unit\-test and micro\-benchmarking framework). If you\(cqre passing arguments to both Cargo and the binary, the ones after \fB\-\-\fP go to the binary, the ones before go to Cargo. For details about libtest\(cqs -arguments see the output of \fBcargo bench \(em \-\-help\fP. As an example, this will +arguments see the output of \fBcargo bench \-\- \-\-help\fP. As an example, this will run only the benchmark named \fBfoo\fP (and skip other similarly named benchmarks like \fBfoobar\fP): .sp diff --git a/src/etc/man/cargo-test.1 b/src/etc/man/cargo-test.1 index 5b1b0b94cc3..26a0aebf6bd 100644 --- a/src/etc/man/cargo-test.1 +++ b/src/etc/man/cargo-test.1 @@ -2,12 +2,12 @@ .\" Title: cargo-test .\" Author: [see the "AUTHOR(S)" section] .\" Generator: Asciidoctor 2.0.10 -.\" Date: 2019-09-05 +.\" Date: 2020-01-18 .\" Manual: \ \& .\" Source: \ \& .\" Language: English .\" -.TH "CARGO\-TEST" "1" "2019-09-05" "\ \&" "\ \&" +.TH "CARGO\-TEST" "1" "2020-01-18" "\ \&" "\ \&" .ie \n(.g .ds Aq \(aq .el .ds Aq ' .ss \n[.ss] 0 @@ -41,7 +41,7 @@ dashes (\fB\-\-\fP) are passed to the test binaries and thus to \fIlibtest\fP (r built in unit\-test and micro\-benchmarking framework). If you\(cqre passing arguments to both Cargo and the binary, the ones after \fB\-\-\fP go to the binary, the ones before go to Cargo. For details about libtest\(cqs arguments see the -output of \fBcargo test \(em \-\-help\fP. As an example, this will run all tests with +output of \fBcargo test \-\- \-\-help\fP. As an example, this will run all tests with \fBfoo\fP in their name on 3 threads in parallel: .sp .if n .RS 4