mirror of
https://github.com/sbt/sbt.git
synced 2026-09-03 16:39:24 +02:00
Only use first line for multiline descriptions
This commit is contained in:
@@ -357,7 +357,7 @@ object BuiltinCommands {
|
||||
}
|
||||
|
||||
def taskStrings(key: AttributeKey[_]): Option[(String, String)] = key.description map { d =>
|
||||
(key.label, d)
|
||||
(key.label, d.split("\r?\n")(0))
|
||||
}
|
||||
|
||||
def defaults = Command.command(DefaultsCommand) { s =>
|
||||
|
||||
Reference in New Issue
Block a user