Skip to content

Commit 426d34a

Browse files
committed
Fix typo in help -W
1 parent ca8dbaf commit 426d34a

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

compiler/src/dotty/tools/dotc/config/ScalaSettings.scala

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -168,14 +168,14 @@ private sealed trait WarningSettings:
168168
choices = List(
169169
ChoiceWithHelp("nowarn", ""),
170170
ChoiceWithHelp("all",""),
171-
ChoiceWithHelp("imports","Warn if an import selector is not referenced."),
172-
ChoiceWithHelp("patvars","Warn if a variable bound in a pattern is unused."),
173-
ChoiceWithHelp("privates","Warn if a private member is unused."),
174-
ChoiceWithHelp("locals","Warn if a local definition is unused."),
175-
ChoiceWithHelp("explicits","Warn if an explicit parameter is unused."),
176-
ChoiceWithHelp("implicits","Warn if an implicit parameter is unused."),
177-
ChoiceWithHelp("params","Enable -Wunused:explicits,implicits."),
178-
ChoiceWithHelp("linted","Enable -Wunused:imports,privates,locals,implicits.")
171+
ChoiceWithHelp("imports","Warn if an import selector is not referenced"),
172+
ChoiceWithHelp("patvars","Warn if a variable bound in a pattern is unused"),
173+
ChoiceWithHelp("privates","Warn if a private member is unused"),
174+
ChoiceWithHelp("locals","Warn if a local definition is unused"),
175+
ChoiceWithHelp("explicits","Warn if an explicit parameter is unused"),
176+
ChoiceWithHelp("implicits","Warn if an implicit parameter is unused"),
177+
ChoiceWithHelp("params","Enable -Wunused:explicits,implicits"),
178+
ChoiceWithHelp("linted","Enable -Wunused:imports,privates,locals,implicits")
179179
),
180180
default = Nil
181181
)

0 commit comments

Comments
 (0)