From 7457b3668b9902d4f90fde9e171c3dd4b23792c8 Mon Sep 17 00:00:00 2001 From: Andrey Nering Date: Sun, 19 Nov 2017 18:45:41 -0200 Subject: [PATCH] Revert "Revert "list: print message with there's no task with description"" This reverts commit e065dcb81659e5b3c38255ece1702d6c408ffebe. Reintroducing this. Reverted unintentionally. --- help.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/help.go b/help.go index f009e080..87d38098 100644 --- a/help.go +++ b/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)