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 {
364
364
. iter ( )
365
365
. map ( |s| ( PathBuf :: from ( & s) , s. to_owned ( ) ) ) {
366
366
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 ( ) ;
368
370
return Err ( 1 ) ;
369
371
}
370
372
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> {
251
251
o. optflag( "" , "sort-modules-by-appearance" , "sort modules by where they appear in the \
252
252
program, rather than alphabetically")
253
253
} ) ,
254
- unstable ( "themes" , |o| {
254
+ stable ( "themes" , |o| {
255
255
o. optmulti( "" , "themes" ,
256
256
"additional themes which will be added to the generated docs" ,
257
257
"FILES" )
258
258
} ) ,
259
- unstable ( "theme-checker" , |o| {
259
+ stable ( "theme-checker" , |o| {
260
260
o. optmulti( "" , "theme-checker" ,
261
261
"check if given theme is valid" ,
262
262
"FILES" )
You can’t perform that action at this time.
0 commit comments