From 82dbd4a62ac62d97a61386696d992e3400167d97 Mon Sep 17 00:00:00 2001 From: Grant Ammons Date: Tue, 3 May 2016 14:39:52 -0400 Subject: Add agenda function --- todo.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'todo.go') diff --git a/todo.go b/todo.go index a0ba30e..707ffd2 100644 --- a/todo.go +++ b/todo.go @@ -42,7 +42,7 @@ func usage() { blueBold.Println("\nListing todos") fmt.Println(" When listing todos, you can filter and group the output.\n") - fmt.Println(" todo l due (tod|today|tom|tomorrow|overdue|this week|next week|mon|tue|wed|thu|fri|sat|sun)") + fmt.Println(" todo l due (agenda|tod|today|tom|tomorrow|overdue|this week|next week|mon|tue|wed|thu|fri|sat|sun)") fmt.Println(" todo l overdue") cyan.Println(" Filtering by date:\n") @@ -54,6 +54,8 @@ func usage() { fmt.Println("\tlists all todos due monday\n") yellow.Println("\ttodo l overdue") fmt.Println("\tlists all todos where the due date is in the past\n") + yellow.Println("\ttodo l agenda") + fmt.Println("\tlists all todos where the due date is today or in the past\n") cyan.Println(" Grouping:") fmt.Println(" You can group todos by context or project.") -- cgit v1.3