@@ -411,9 +411,10 @@ object Settings:
411
411
def PhasesSetting (category : SettingCategory , name : String , descr : String , default : String = " " , aliases : List [String ] = Nil , deprecation : Option [Deprecation ] = None ): Setting [List [String ]] =
412
412
publish(Setting (category, prependName(name), descr, if (default.isEmpty) Nil else List (default), aliases = aliases, deprecation = deprecation))
413
413
414
- def PrefixSetting (category : SettingCategory , name : String , descr : String , deprecation : Option [Deprecation ] = None ): Setting [List [String ]] =
414
+ def PrefixSetting (category : SettingCategory , name0 : String , descr : String , deprecation : Option [Deprecation ] = None ): Setting [List [String ]] =
415
+ val name = prependName(name0)
415
416
val prefix = name.takeWhile(_ != '<' )
416
- publish(Setting (category, " - " + name, descr, Nil , prefix = Some (prefix), deprecation = deprecation))
417
+ publish(Setting (category, name, descr, Nil , prefix = Some (prefix), deprecation = deprecation))
417
418
418
419
def VersionSetting (category : SettingCategory , name : String , descr : String , default : ScalaVersion = NoScalaVersion , legacyArgs : Boolean = false , deprecation : Option [Deprecation ] = None ): Setting [ScalaVersion ] =
419
420
publish(Setting (category, prependName(name), descr, default, legacyArgs = legacyArgs, deprecation = deprecation))
0 commit comments