Skip to content

Commit 7457b36

Browse files
committed
Revert "Revert "list: print message with there's no task with description""
This reverts commit e065dcb. Reintroducing this. Reverted unintentionally.
1 parent 71e7cd5 commit 7457b36

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

help.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,10 @@ import (
1010
func (e *Executor) PrintTasksHelp() {
1111
tasks := e.tasksWithDesc()
1212
if len(tasks) == 0 {
13+
e.outf("task: No tasks with description available")
1314
return
1415
}
15-
e.outf("Available tasks for this project:")
16+
e.outf("task: Available tasks for this project:")
1617

1718
// Format in tab-separated columns with a tab stop of 8.
1819
w := tabwriter.NewWriter(e.Stdout, 0, 8, 0, '\t', 0)

0 commit comments

Comments
 (0)