mirror of
https://github.com/go-task/task.git
synced 2025-03-17 21:08:01 +02:00
Fix task names for --list
and --list-all
Task names should not be overrided by `label`.
This commit is contained in:
parent
5d22cf4327
commit
122c3f083e
2
help.go
2
help.go
@ -44,7 +44,7 @@ func (e *Executor) printTasks(listAll bool) {
|
||||
// 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.Fprintf(w, "* %s: \t%s\n", task.Name(), task.Desc)
|
||||
fmt.Fprintf(w, "* %s: \t%s\n", task.Task, task.Desc)
|
||||
}
|
||||
w.Flush()
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user