File tree Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -381,7 +381,7 @@ the same CSS rules as the official `light` theme.
381381` --check-theme ` flag, it discards all other flags and only performs the CSS rule
382382comparison operation.
383383
384- ### ` --crate-version ` : control the crate version
384+ ## ` --crate-version ` : control the crate version
385385
386386Using this flag looks like this:
387387
@@ -418,9 +418,22 @@ Rustdoc only supports Rust source code and Markdown input formats. If the
418418file ends in ` .md ` or ` .markdown ` , ` rustdoc ` treats it as a Markdown file.
419419Otherwise, it assumes that the input file is Rust.
420420
421+ # Unstable command line arguments
422+
421423## ` --nocapture `
422424
423425When this flag is used with ` --test ` , the output (stdout and stderr) of your tests won't be
424426captured by rustdoc. Instead, the output will be directed to your terminal,
425427as if you had run the test executable manually. This is especially useful
426428for debugging your tests!
429+
430+ ## ` --check `
431+
432+ When this flag is supplied, rustdoc will type check and lint your code, but will not generate any
433+ documentation or run your doctests.
434+
435+ Using this flag looks like:
436+
437+ ``` bash
438+ rustdoc -Z unstable-options --check src/lib.rs
439+ ```
You can’t perform that action at this time.
0 commit comments