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