Skip to content

Commit 2992889

Browse files
committed
Restore help msg for other than language
[Cherry-picked 929e7eb][modified]
1 parent f85671a commit 2992889

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: compiler/src/dotty/tools/dotc/config/CompilerCommand.scala

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ abstract class CompilerCommand extends CliCommand:
99

1010
final def helpMsg(using settings: ScalaSettings)(using SettingsState, Context): String =
1111
settings.allSettings.find(isHelping) match
12+
case Some(s @ settings.language) => availableOptionsMsg(_ == s)
1213
case Some(s) => s.description
1314
case _ =>
1415
if (settings.help.value) usageMessage

0 commit comments

Comments
 (0)