From 54e9313ad14269f57a13b32aac59aea17f86d151 Mon Sep 17 00:00:00 2001 From: Grant Ammons Date: Mon, 2 May 2016 06:34:38 -0400 Subject: Get completing todos to work correctly --- todo.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'todo.go') 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) } } -- cgit v1.3