diff options
| author | Tristan Dannenberg <dtristan@hotmail.de> | 2021-01-11 20:35:58 +0100 |
|---|---|---|
| committer | Tristan Dannenberg <dtristan@hotmail.de> | 2021-01-12 17:30:57 +0100 |
| commit | b18a426fb4f28493f8777cef6a146ac8731eb43e (patch) | |
| tree | bdb19e2e96ae93f8cd00c0199037ad5d80462936 /src/librustdoc/lib.rs | |
| parent | fc9944fe84a683f0450c0921a935456e51b1c3ae (diff) | |
| download | rust-b18a426fb4f28493f8777cef6a146ac8731eb43e.tar.gz rust-b18a426fb4f28493f8777cef6a146ac8731eb43e.zip | |
Fix rustdoc --test-builder argument parsing
Diffstat (limited to 'src/librustdoc/lib.rs')
| -rw-r--r-- | src/librustdoc/lib.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/librustdoc/lib.rs b/src/librustdoc/lib.rs index 7ed64c5813f..5a324fb1e56 100644 --- a/src/librustdoc/lib.rs +++ b/src/librustdoc/lib.rs @@ -412,10 +412,11 @@ fn opts() -> Vec<RustcOptGroup> { ) }), unstable("test-builder", |o| { - o.optflag( + o.optopt( "", "test-builder", - "specified the rustc-like binary to use as the test builder", + "specifies the rustc-like binary to use as the test builder", + "PATH", ) }), unstable("check", |o| o.optflag("", "check", "Run rustdoc checks")), |
