File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -281,12 +281,12 @@ impl Options {
281
281
// check for deprecated options
282
282
check_deprecated_options ( & matches, & diag) ;
283
283
284
- let to_check = matches. opt_strs ( "theme-checker " ) ;
284
+ let to_check = matches. opt_strs ( "check-theme " ) ;
285
285
if !to_check. is_empty ( ) {
286
286
let paths = theme:: load_css_paths ( static_files:: themes:: LIGHT . as_bytes ( ) ) ;
287
287
let mut errors = 0 ;
288
288
289
- println ! ( "rustdoc: [theme-checker ] Starting tests!" ) ;
289
+ println ! ( "rustdoc: [check-theme ] Starting tests! (Ignoring all other arguments) " ) ;
290
290
for theme_file in to_check. iter ( ) {
291
291
print ! ( " - Checking \" {}\" ..." , theme_file) ;
292
292
let ( success, differences) = theme:: test_theme_against ( theme_file, & paths, & diag) ;
@@ -378,7 +378,7 @@ impl Options {
378
378
default theme", theme_s) )
379
379
. warn ( "the theme may appear incorrect when loaded" )
380
380
. help ( & format ! ( "to see what rules are missing, call `rustdoc \
381
- --theme-checker \" {}\" `", theme_s) )
381
+ --check-theme \" {}\" `", theme_s) )
382
382
. emit ( ) ;
383
383
}
384
384
themes. push ( theme_file) ;
You can’t perform that action at this time.
0 commit comments