@@ -503,10 +503,11 @@ fn opts() -> Vec<RustcOptGroup> {
503503 unstable( "disable-minification" , |o| {
504504 o. optflagmulti( "" , "disable-minification" , "Disable minification applied on JS files" )
505505 } ) ,
506- stable( "warn" , |o| o. optmulti( "W" , "warn" , "Set lint warnings" , "OPT" ) ) ,
507- stable( "allow" , |o| o. optmulti( "A" , "allow" , "Set lint allowed" , "OPT" ) ) ,
508- stable( "deny" , |o| o. optmulti( "D" , "deny" , "Set lint denied" , "OPT" ) ) ,
509- stable( "forbid" , |o| o. optmulti( "F" , "forbid" , "Set lint forbidden" , "OPT" ) ) ,
506+ stable( "allow" , |o| o. optmulti( "A" , "allow" , "Set lint allowed" , "LINT" ) ) ,
507+ stable( "warn" , |o| o. optmulti( "W" , "warn" , "Set lint warnings" , "LINT" ) ) ,
508+ unstable( "force-warn" , |o| o. optmulti( "" , "force-warn" , "Set lint force-warn" , "LINT" ) ) ,
509+ stable( "deny" , |o| o. optmulti( "D" , "deny" , "Set lint denied" , "LINT" ) ) ,
510+ stable( "forbid" , |o| o. optmulti( "F" , "forbid" , "Set lint forbidden" , "LINT" ) ) ,
510511 stable( "cap-lints" , |o| {
511512 o. optmulti(
512513 "" ,
@@ -517,14 +518,6 @@ fn opts() -> Vec<RustcOptGroup> {
517518 "LEVEL" ,
518519 )
519520 } ) ,
520- unstable( "force-warn" , |o| {
521- o. optopt(
522- "" ,
523- "force-warn" ,
524- "Lints that will warn even if allowed somewhere else" ,
525- "LINTS" ,
526- )
527- } ) ,
528521 unstable( "index-page" , |o| {
529522 o. optopt( "" , "index-page" , "Markdown file to be used as index page" , "PATH" )
530523 } ) ,
0 commit comments