aboutsummaryrefslogtreecommitdiffstats
path: root/todo.go
diff options
context:
space:
mode:
authorHuu Nguyen <whoshuu@gmail.com>2017-01-17 23:54:53 -0800
committerHuu Nguyen <whoshuu@gmail.com>2017-01-17 23:54:53 -0800
commitf06d82ed503ff2ce8742413af2f571211f235dfb (patch)
tree5e85d7458c6ee492abcedbe82e0472cebfc26005 /todo.go
parent976e6f28c016752745a0dc3365ccc09ac03daf78 (diff)
Fix delete subcommand to match website
Diffstat (limited to 'todo.go')
-rw-r--r--todo.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/todo.go b/todo.go
index 2b95c98..36e5bf7 100644
--- a/todo.go
+++ b/todo.go
@@ -111,7 +111,7 @@ func routeInput(command string, input string) {
app.ListTodos(input)
case "a", "add":
app.AddTodo(input)
- case "d", "del":
+ case "d", "delete":
app.DeleteTodo(input)
case "c", "complete":
app.CompleteTodo(input)