diff options
| author | Joshua Nelson <jyn514@gmail.com> | 2021-03-05 10:54:37 -0500 |
|---|---|---|
| committer | Joshua Nelson <jyn514@gmail.com> | 2021-03-05 15:31:30 -0500 |
| commit | 173d2aaa009d7d1b76addefc204a2bde329caa83 (patch) | |
| tree | 621661d8b266f7103fd7b5a176977aa264d27e79 /src/librustdoc/lib.rs | |
| parent | 69a879f3d199580dde491bb679df319867a44e56 (diff) | |
Add an unstable option to print all unversioned files
This allows sharing those files between different doc invocations without having to know their names ahead of time.
Diffstat (limited to 'src/librustdoc/lib.rs')
| -rw-r--r-- | src/librustdoc/lib.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/librustdoc/lib.rs b/src/librustdoc/lib.rs index d214cea8fc4..9e843245442 100644 --- a/src/librustdoc/lib.rs +++ b/src/librustdoc/lib.rs @@ -524,6 +524,9 @@ fn opts() -> Vec<RustcOptGroup> { "Generate JSON file at the top level instead of generating HTML redirection files", ) }), + unstable("print", |o| { + o.optmulti("", "print", "Rustdoc information to print on stdout", "[unversioned-files]") + }), ] } |
