aboutsummaryrefslogtreecommitdiffstats
path: root/todo.go
diff options
context:
space:
mode:
Diffstat (limited to 'todo.go')
-rw-r--r--todo.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/todo.go b/todo.go
index e48eda2..9619bdb 100644
--- a/todo.go
+++ b/todo.go
@@ -127,6 +127,8 @@ func usage() {
fmt.Println("\tAdds notes \"check http://this.web.site\" to the todo with id 12\n")
yellow.Println("\ttodo ln 12")
fmt.Println("\tLists notes of the todo with id 12\n")
+ yellow.Println("\ttodo dn 12 3")
+ fmt.Println("\tDeletes the 3rd note of the todo with id 12\n")
blueBold.Println("\nGarbage Collection")
yellow.Println("\ttodo gc")
@@ -159,7 +161,7 @@ func routeInput(command string, input string) {
app.EditTodo(input)
case "ex", "expand":
app.ExpandTodo(input)
- case "an", "ln":
+ case "an", "ln", "dn":
app.ManipulateNotes(input)
case "gc":
app.GarbageCollect()