about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume.gomez@huawei.com>2022-02-15 11:46:52 +0100
committerGuillaume Gomez <guillaume.gomez@huawei.com>2022-02-15 11:46:52 +0100
commit41a0f8c72f3e9d439329ca7e3ccd9ae98b92bb23 (patch)
treeae38d3526eb914ffe07b0a523b051c037643d4d9
parent52dd59ed2154f4158ae37e6994b678a6249a7bb0 (diff)
downloadrust-41a0f8c72f3e9d439329ca7e3ccd9ae98b92bb23.tar.gz
rust-41a0f8c72f3e9d439329ca7e3ccd9ae98b92bb23.zip
Clean up rustdoc command line args doc
-rw-r--r--src/doc/rustdoc/src/command-line-arguments.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/doc/rustdoc/src/command-line-arguments.md b/src/doc/rustdoc/src/command-line-arguments.md
index 9de2e733de7..7b7e1a07646 100644
--- a/src/doc/rustdoc/src/command-line-arguments.md
+++ b/src/doc/rustdoc/src/command-line-arguments.md
@@ -381,7 +381,7 @@ the same CSS rules as the official `light` theme.
 `--check-theme` flag, it discards all other flags and only performs the CSS rule
 comparison operation.
 
-### `--crate-version`: control the crate version
+## `--crate-version`: control the crate version
 
 Using this flag looks like this:
 
@@ -418,6 +418,8 @@ Rustdoc only supports Rust source code and Markdown input formats. If the
 file ends in `.md` or `.markdown`, `rustdoc` treats it as a Markdown file.
 Otherwise, it assumes that the input file is Rust.
 
+# Unstable command line arguments
+
 ## `--nocapture`
 
 When this flag is used with `--test`, the output (stdout and stderr) of your tests won't be