mirror of https://github.com/sbt/sbt.git
Only use first line for multiline descriptions
This commit is contained in:
parent
f6fa7cb765
commit
34cc8cd273
|
|
@ -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 =>
|
||||
|
|
|
|||
Loading…
Reference in New Issue