From 2508bed36353f1056b13cd16096b6351ec44d8aa Mon Sep 17 00:00:00 2001 From: Andrey Nering Date: Thu, 16 Nov 2017 23:35:53 -0200 Subject: [PATCH] list: print message with there's no task with description --- 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)