aboutsummaryrefslogtreecommitdiffstats
path: root/todo.go
diff options
context:
space:
mode:
authorGrant Ammons <gammons@gmail.com>2016-05-02 06:34:38 -0400
committerGrant Ammons <gammons@gmail.com>2016-05-02 06:34:38 -0400
commit54e9313ad14269f57a13b32aac59aea17f86d151 (patch)
tree9c6364af5e93d6b80df893d317894f60d6662940 /todo.go
parentb1fc3359eb7498236621d1aa6a9ff18f8cce73c0 (diff)
Get completing todos to work correctly
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)
}
}