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 {
281281 // check for deprecated options
282282 check_deprecated_options ( & matches, & diag) ;
283283
284- let to_check = matches. opt_strs ( "theme-checker " ) ;
284+ let to_check = matches. opt_strs ( "check-theme " ) ;
285285 if !to_check. is_empty ( ) {
286286 let paths = theme:: load_css_paths ( static_files:: themes:: LIGHT . as_bytes ( ) ) ;
287287 let mut errors = 0 ;
288288
289- println ! ( "rustdoc: [theme-checker ] Starting tests!" ) ;
289+ println ! ( "rustdoc: [check-theme ] Starting tests! (Ignoring all other arguments) " ) ;
290290 for theme_file in to_check. iter ( ) {
291291 print ! ( " - Checking \" {}\" ..." , theme_file) ;
292292 let ( success, differences) = theme:: test_theme_against ( theme_file, & paths, & diag) ;
@@ -378,7 +378,7 @@ impl Options {
378378 default theme", theme_s) )
379379 . warn ( "the theme may appear incorrect when loaded" )
380380 . help ( & format ! ( "to see what rules are missing, call `rustdoc \
381- --theme-checker \" {}\" `", theme_s) )
381+ --check-theme \" {}\" `", theme_s) )
382382 . emit ( ) ;
383383 }
384384 themes. push ( theme_file) ;
You can’t perform that action at this time.
0 commit comments