aboutsummaryrefslogtreecommitdiffstats
path: root/todo.go
diff options
context:
space:
mode:
authorStuart Skelton <stuarts@broadbean.com>2017-08-01 14:15:09 +0100
committerStuart Skelton <stuarts@broadbean.com>2017-08-01 14:15:09 +0100
commit5c574eb14ea782a27ff17dd4bd484dcb3803aae1 (patch)
tree87ffa3f4e0823918581829b11aa5658982434922 /todo.go
parent650d53a6000a483e11da91b3466e1f57a96c3da0 (diff)
Updated the command line docs
Diffstat (limited to 'todo.go')
-rw-r--r--todo.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/todo.go b/todo.go
index f9dcd6c..c099fc7 100644
--- a/todo.go
+++ b/todo.go
@@ -58,6 +58,14 @@ func usage() {
yellow.Println("\ttodo agenda")
fmt.Println("\tlists all todos where the due date is today or in the past\n")
+ fmt.Println(" todo l completed (tod|today|this week)")
+ cyan.Println(" Filtering by date:\n")
+
+ yellow.Println("\ttodo l completed (tod|today)")
+ fmt.Println("\tlists all todos that were completed today\n")
+ yellow.Println("\ttodo l completed this week")
+ fmt.Println("\tlists all todos that were completed this week\n")
+
cyan.Println(" Grouping:")
fmt.Println(" You can group todos by context or project.")
yellow.Println("\ttodo l by c")