Skip to content

Commit c08e0e4

Browse files
Update compiler/src/dotty/tools/dotc/config/Settings.scala
Co-authored-by: Eugene Flesselle <[email protected]>
1 parent a4299f4 commit c08e0e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,7 @@ object Settings:
414414
def PrefixSetting(category: SettingCategory, name0: String, descr: String, deprecation: Option[Deprecation] = None): Setting[List[String]] =
415415
val name = prependName(name0)
416416
val prefix = name.takeWhile(_ != '<')
417-
publish(Setting(category, "-" + name, descr, Nil, prefix = Some(prefix), deprecation = deprecation))
417+
publish(Setting(category, name, descr, Nil, prefix = Some(prefix), deprecation = deprecation))
418418

419419
def VersionSetting(category: SettingCategory, name: String, descr: String, default: ScalaVersion = NoScalaVersion, legacyArgs: Boolean = false, deprecation: Option[Deprecation] = None): Setting[ScalaVersion] =
420420
publish(Setting(category, prependName(name), descr, default, legacyArgs = legacyArgs, deprecation = deprecation))

0 commit comments

Comments
 (0)