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:
parent
60186bdcd5
commit
f4216dd67f
2
help.go
2
help.go
@ -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()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user