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 992989a..813b1fc 100644
--- a/todo.go
+++ b/todo.go
@@ -30,5 +30,7 @@ func routeInput(command string, input string) {
app.AddTodo(input)
case command == "d" || command == "del":
app.DeleteTodo(input)
+ case command == "c" || command == "complete":
+ app.CompleteTodo(input)
}
}