File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -364,7 +364,9 @@ impl Options {
364364 . iter ( )
365365 . map ( |s| ( PathBuf :: from ( & s) , s. to_owned ( ) ) ) {
366366 if !theme_file. is_file ( ) {
367- diag. struct_err ( "option --themes arguments must all be files" ) . emit ( ) ;
367+ diag. struct_err ( & format ! ( "invalid file: \" {}\" " , theme_s) )
368+ . help ( "option --themes arguments must all be files" )
369+ . emit ( ) ;
368370 return Err ( 1 ) ;
369371 }
370372 let ( success, ret) = theme:: test_theme_against ( & theme_file, & paths, & diag) ;
Original file line number Diff line number Diff line change @@ -251,12 +251,12 @@ fn opts() -> Vec<RustcOptGroup> {
251251 o. optflag( "" , "sort-modules-by-appearance" , "sort modules by where they appear in the \
252252 program, rather than alphabetically")
253253 } ) ,
254- unstable ( "themes" , |o| {
254+ stable ( "themes" , |o| {
255255 o. optmulti( "" , "themes" ,
256256 "additional themes which will be added to the generated docs" ,
257257 "FILES" )
258258 } ) ,
259- unstable ( "theme-checker" , |o| {
259+ stable ( "theme-checker" , |o| {
260260 o. optmulti( "" , "theme-checker" ,
261261 "check if given theme is valid" ,
262262 "FILES" )
You can’t perform that action at this time.
0 commit comments