@@ -582,9 +582,9 @@ fn opts() -> Vec<RustcOptGroup> {
582
582
unstable( "test-builder" , |o| {
583
583
o. optopt( "" , "test-builder" , "The rustc-like binary to use as the test builder" , "PATH" )
584
584
} ) ,
585
- unstable( "check" , |o| o. optflag ( "" , "check" , "Run rustdoc checks" ) ) ,
585
+ unstable( "check" , |o| o. optflagmulti ( "" , "check" , "Run rustdoc checks" ) ) ,
586
586
unstable( "generate-redirect-map" , |o| {
587
- o. optflag (
587
+ o. optflagmulti (
588
588
"" ,
589
589
"generate-redirect-map" ,
590
590
"Generate JSON file at the top level instead of generating HTML redirection files" ,
@@ -598,9 +598,11 @@ fn opts() -> Vec<RustcOptGroup> {
598
598
"[unversioned-shared-resources,toolchain-shared-resources,invocation-specific]" ,
599
599
)
600
600
} ) ,
601
- unstable( "no-run" , |o| o. optflag( "" , "no-run" , "Compile doctests without running them" ) ) ,
601
+ unstable( "no-run" , |o| {
602
+ o. optflagmulti( "" , "no-run" , "Compile doctests without running them" )
603
+ } ) ,
602
604
unstable( "show-type-layout" , |o| {
603
- o. optflag ( "" , "show-type-layout" , "Include the memory layout of types in the docs" )
605
+ o. optflagmulti ( "" , "show-type-layout" , "Include the memory layout of types in the docs" )
604
606
} ) ,
605
607
]
606
608
}
0 commit comments