about summary refs log tree commit diff
path: root/src/doc/rustc
diff options
context:
space:
mode:
authorSamuel E. Moelius III <sam@moeli.us>2022-01-30 10:25:40 -0500
committerSamuel E. Moelius III <sam@moeli.us>2022-01-30 10:25:40 -0500
commit96d96a7ac48cd8becf3133035ab0cf0717a4cf75 (patch)
tree830a452e7f7c621f4f480966f0c96672905c9f0e /src/doc/rustc
parenta00e130dae74a213338e2b095ec855156d8f3d8a (diff)
downloadrust-96d96a7ac48cd8becf3133035ab0cf0717a4cf75.tar.gz
rust-96d96a7ac48cd8becf3133035ab0cf0717a4cf75.zip
Use `optflag` for `--report-time`
Essentially, what is described here:
https://github.com/rust-lang/rust/issues/64888#issuecomment-1008047228

There is one difference. The comment proposes to add a
`--report-time-color` option. This change instead uses libtest's
existing `--color` option for that purpose.
Diffstat (limited to 'src/doc/rustc')
-rw-r--r--src/doc/rustc/src/tests/index.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/rustc/src/tests/index.md b/src/doc/rustc/src/tests/index.md
index 23a9f31e8e7..0e0eb85db74 100644
--- a/src/doc/rustc/src/tests/index.md
+++ b/src/doc/rustc/src/tests/index.md
@@ -267,7 +267,7 @@ Controls the format of the output. Valid options:
 
 Writes the results of the tests to the given file.
 
-#### `--report-time` _FORMAT_
+#### `--report-time`
 
 ⚠️ 🚧 This option is [unstable](#unstable-options), and requires the `-Z
 unstable-options` flag. See [tracking issue