about summary refs log tree commit diff
path: root/src/doc/rustdoc
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume.gomez@huawei.com>2021-09-09 16:52:19 +0200
committerGuillaume Gomez <guillaume.gomez@huawei.com>2021-09-14 10:49:56 +0200
commit3a8fcff9b61879fc274c4cff6063733edf81923a (patch)
treecf761649c07f89edb34b7b23f77e3e952f342eba /src/doc/rustdoc
parent1cd17addad57e2aaf5dc6d3febe042ebb733bee3 (diff)
downloadrust-3a8fcff9b61879fc274c4cff6063733edf81923a.tar.gz
rust-3a8fcff9b61879fc274c4cff6063733edf81923a.zip
Rename --display-warnings to --display-doctest-warnings
Diffstat (limited to 'src/doc/rustdoc')
-rw-r--r--src/doc/rustdoc/src/unstable-features.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/doc/rustdoc/src/unstable-features.md b/src/doc/rustdoc/src/unstable-features.md
index dce98abcf53..b55db452f12 100644
--- a/src/doc/rustdoc/src/unstable-features.md
+++ b/src/doc/rustdoc/src/unstable-features.md
@@ -222,13 +222,13 @@ all these files are linked from every page, changing where they are can be cumbe
 specially cache them. This flag will rename all these files in the output to include the suffix in
 the filename. For example, `light.css` would become `light-suf.css` with the above command.
 
-### `--display-warnings`: display warnings when documenting or running documentation tests
+### `--display-doctest-warnings`: display warnings when documenting or running documentation tests
 
 Using this flag looks like this:
 
 ```bash
-$ rustdoc src/lib.rs -Z unstable-options --display-warnings
-$ rustdoc --test src/lib.rs -Z unstable-options --display-warnings
+$ rustdoc src/lib.rs -Z unstable-options --display-doctest-warnings
+$ rustdoc --test src/lib.rs -Z unstable-options --display-doctest-warnings
 ```
 
 The intent behind this flag is to allow the user to see warnings that occur within their library or