Only use first line for multiline descriptions

This commit is contained in:
Øyvind Høisæther
2018-05-15 13:42:41 +02:00
parent f6fa7cb765
commit 34cc8cd273
+1 -1
View File
@@ -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 =>