aboutsummaryrefslogtreecommitdiffstats
path: root/todo.go
diff options
context:
space:
mode:
Diffstat (limited to 'todo.go')
-rw-r--r--todo.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/todo.go b/todo.go
index 5ae2e43..992989a 100644
--- a/todo.go
+++ b/todo.go
@@ -28,5 +28,7 @@ func routeInput(command string, input string) {
app.ListTodos(input)
case command == "a" || command == "add":
app.AddTodo(input)
+ case command == "d" || command == "del":
+ app.DeleteTodo(input)
}
}