mirror of
https://github.com/go-task/task.git
synced 2024-12-12 10:45:49 +02:00
list: print message with there's no task with description
This commit is contained in:
parent
c469632ee0
commit
2508bed363
3
help.go
3
help.go
@ -10,9 +10,10 @@ import (
|
||||
func (e *Executor) PrintTasksHelp() {
|
||||
tasks := e.tasksWithDesc()
|
||||
if len(tasks) == 0 {
|
||||
e.outf("task: No tasks with description available")
|
||||
return
|
||||
}
|
||||
e.outf("Available tasks for this project:")
|
||||
e.outf("task: Available tasks for this project:")
|
||||
|
||||
// Format in tab-separated columns with a tab stop of 8.
|
||||
w := tabwriter.NewWriter(e.Stdout, 0, 8, 0, '\t', 0)
|
||||
|
Loading…
Reference in New Issue
Block a user