aboutsummaryrefslogtreecommitdiffstats
path: root/todo.go
diff options
context:
space:
mode:
authorQuey-Liang Kao <s101062801@m101.nthu.edu.tw>2017-01-18 21:17:57 +0800
committerQuey-Liang Kao <s101062801@m101.nthu.edu.tw>2017-01-18 21:17:57 +0800
commit468e1d8d6a4e9c5fe2ce7ace27c003e5b7063f78 (patch)
treeb59a93ccd4b13c684ce756d945f5ffabd03c1ad2 /todo.go
parent0466449099372abdde5f7a1ab9d5fa1788618a41 (diff)
parentde346783c83061b2b88e5b158f6a659d569f206e (diff)
Merge github.com:gammons/todolist
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)