diff --git a/cli/cli.go b/cli/cli.go index 31e51d4..4ae5dea 100644 --- a/cli/cli.go +++ b/cli/cli.go @@ -86,6 +86,9 @@ func fprintHelp(w io.Writer, config *config.Config) { func fprintTaskHelp(w io.Writer, task *config.Task) { var sb strings.Builder sb.WriteString(task.Description) + if len(task.Description) > 0 && task.Description[len(task.Description)-1] != '\n' { + sb.WriteRune('\n') + } if len(task.Tasks) > 0 { fprintTasks(&sb, task.Tasks) }