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 @@ -366,7 +366,9 @@ impl Options {
366
366
. iter ( )
367
367
. map ( |s| ( PathBuf :: from ( & s) , s. to_owned ( ) ) ) {
368
368
if !theme_file. is_file ( ) {
369
- diag. struct_err ( "option --themes arguments must all be files" ) . emit ( ) ;
369
+ diag. struct_err ( & format ! ( "invalid file: \" {}\" " , theme_s) )
370
+ . help ( "option --themes arguments must all be files" )
371
+ . emit ( ) ;
370
372
return Err ( 1 ) ;
371
373
}
372
374
let ( success, ret) = theme:: test_theme_against ( & theme_file, & paths, & diag) ;
Original file line number Diff line number Diff line change @@ -247,12 +247,12 @@ fn opts() -> Vec<RustcOptGroup> {
247
247
o. optflag( "" , "sort-modules-by-appearance" , "sort modules by where they appear in the \
248
248
program, rather than alphabetically")
249
249
} ) ,
250
- unstable ( "themes" , |o| {
250
+ stable ( "themes" , |o| {
251
251
o. optmulti( "" , "themes" ,
252
252
"additional themes which will be added to the generated docs" ,
253
253
"FILES" )
254
254
} ) ,
255
- unstable ( "theme-checker" , |o| {
255
+ stable ( "theme-checker" , |o| {
256
256
o. optmulti( "" , "theme-checker" ,
257
257
"check if given theme is valid" ,
258
258
"FILES" )
You can’t perform that action at this time.
0 commit comments