diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2021-06-11 22:20:40 +0200 |
|---|---|---|
| committer | Guillaume Gomez <guillaume.gomez@huawei.com> | 2021-07-18 11:54:39 +0200 |
| commit | 893e07e1b0a93897bb931d8495f02ab731bd5a32 (patch) | |
| tree | d11e982df0ebd6770ec2091d57c5d29833ae1fd9 /src | |
| parent | 111cca1fa76e13956610cae02da13758daed8ddf (diff) | |
| download | rust-893e07e1b0a93897bb931d8495f02ab731bd5a32.tar.gz rust-893e07e1b0a93897bb931d8495f02ab731bd5a32.zip | |
Add doc for --nocapture
Diffstat (limited to 'src')
| -rw-r--r-- | src/doc/rustdoc/src/command-line-arguments.md | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/doc/rustdoc/src/command-line-arguments.md b/src/doc/rustdoc/src/command-line-arguments.md index 2e4016e24bc..c8af369a969 100644 --- a/src/doc/rustdoc/src/command-line-arguments.md +++ b/src/doc/rustdoc/src/command-line-arguments.md @@ -417,3 +417,10 @@ This flag is **deprecated** and **has no effect**. 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. + +## `--nocapture` + +When this flag is used with `--test`, the output (stdout and stderr) of your tests won't be +captured by rustdoc. Instead, the output will be directed to your terminal, +as if you had run the test executable manually. This is especially useful +for debugging your tests! |
