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 @@ -279,12 +279,12 @@ impl Options {
279
279
// check for deprecated options
280
280
check_deprecated_options ( & matches, & diag) ;
281
281
282
- let to_check = matches. opt_strs ( "theme-checker " ) ;
282
+ let to_check = matches. opt_strs ( "check-theme " ) ;
283
283
if !to_check. is_empty ( ) {
284
284
let paths = theme:: load_css_paths ( static_files:: themes:: LIGHT . as_bytes ( ) ) ;
285
285
let mut errors = 0 ;
286
286
287
- println ! ( "rustdoc: [theme-checker ] Starting tests!" ) ;
287
+ println ! ( "rustdoc: [check-theme ] Starting tests! (Ignoring all other arguments) " ) ;
288
288
for theme_file in to_check. iter ( ) {
289
289
print ! ( " - Checking \" {}\" ..." , theme_file) ;
290
290
let ( success, differences) = theme:: test_theme_against ( theme_file, & paths, & diag) ;
@@ -380,7 +380,7 @@ impl Options {
380
380
default theme", theme_s) )
381
381
. warn ( "the theme may appear incorrect when loaded" )
382
382
. help ( & format ! ( "to see what rules are missing, call `rustdoc \
383
- --theme-checker \" {}\" `", theme_s) )
383
+ --check-theme \" {}\" `", theme_s) )
384
384
. emit ( ) ;
385
385
}
386
386
themes. push ( theme_file) ;
You can’t perform that action at this time.
0 commit comments