diff --git a/main/Keys.scala b/main/Keys.scala index fb854cd33..d752cd8ff 100644 --- a/main/Keys.scala +++ b/main/Keys.scala @@ -150,7 +150,7 @@ object Keys val consoleProject = TaskKey[Unit]("console-project", "Starts the Scala interpreter with the sbt and the build definition on the classpath and useful imports.", AMinusTask) val compile = TaskKey[Analysis]("compile", "Compiles sources.", APlusTask) val compilers = TaskKey[Compiler.Compilers]("compilers", "Defines the Scala and Java compilers to use for compilation.", DTask) - val compileIncSetup = TaskKey[Compiler.IncSetup]("inc-compile-setup", "Configurations aspects of incremental compilation.", DTask) + val compileIncSetup = TaskKey[Compiler.IncSetup]("inc-compile-setup", "Configures aspects of incremental compilation.", DTask) val definesClass = TaskKey[DefinesClass]("defines-class", "Internal use: provides a function that determines whether the provided file contains a given class.", Invisible) val doc = TaskKey[File]("doc", "Generates API documentation.", AMinusTask) val copyResources = TaskKey[Seq[(File,File)]]("copy-resources", "Copies resources to the output directory.", AMinusTask) diff --git a/main/command/BasicCommandStrings.scala b/main/command/BasicCommandStrings.scala index 81079f190..1b5168d26 100644 --- a/main/command/BasicCommandStrings.scala +++ b/main/command/BasicCommandStrings.scala @@ -32,7 +32,8 @@ object BasicCommandStrings Searches the help according to the provided regular expression. """ - def historyHelp = Help.briefDetail(HistoryCommands.descriptions) + def HistoryHelpBrief = (HistoryCommands.Start -> "History command help. Lists and describes all history commands.") + def historyHelp = Help(HistoryHelpBrief, (HistoryHelpBrief +: HistoryCommands.descriptions).toMap) def exitBrief = "Terminates the build." diff --git a/main/command/CommandUtil.scala b/main/command/CommandUtil.scala index baaedd21a..d4cff3cca 100644 --- a/main/command/CommandUtil.scala +++ b/main/command/CommandUtil.scala @@ -62,7 +62,7 @@ object CommandUtil } } def layoutDetails(details: Map[String,String]): String = - details.map { case (k,v) => k + ":\n\n " + v } mkString("\n", "\n\n", "\n") + details.map { case (k,v) => k + "\n\n " + v } mkString("\n", "\n\n", "\n") final val HelpPatternFlags = Pattern.CASE_INSENSITIVE | Pattern.UNICODE_CASE