We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fc1aae6 commit 417c9bcCopy full SHA for 417c9bc
compiler/src/dotty/tools/dotc/config/CompilerCommand.scala
@@ -9,7 +9,8 @@ abstract class CompilerCommand extends CliCommand:
9
10
final def helpMsg(using settings: ConcreteSettings)(using SettingsState, Context): String =
11
settings.allSettings.find(isHelping) match
12
- case Some(s) => availableOptionsMsg(_ == s, showArgFileMsg = false)
+ case Some(s @ settings.language) => availableOptionsMsg(_ == s, showArgFileMsg = false)
13
+ case Some(s) => s.description
14
case _ =>
15
if (settings.help.value) usageMessage
16
else if (settings.Vhelp.value) vusageMessage
0 commit comments