1
0
mirror of https://github.com/go-task/task.git synced 2025-01-12 04:34:11 +02:00

list tasks: ensure at least one space after colon

This commit is contained in:
Andrey Nering 2017-11-02 09:45:00 -02:00
parent 60186bdcd5
commit f4216dd67f

View File

@ -17,7 +17,7 @@ func (e *Executor) PrintTasksHelp() {
// Format in tab-separated columns with a tab stop of 8.
w := tabwriter.NewWriter(e.Stdout, 0, 8, 0, '\t', 0)
for _, task := range tasks {
fmt.Fprintln(w, fmt.Sprintf("* %s:\t%s", task, e.Tasks[task].Desc))
fmt.Fprintln(w, fmt.Sprintf("* %s: \t%s", task, e.Tasks[task].Desc))
}
w.Flush()
}