From 7c24f39a0fc8bb07dc9db4f5fecd3468705b1e37 Mon Sep 17 00:00:00 2001 From: Quey-Liang Kao Date: Mon, 14 Aug 2017 16:34:33 +0800 Subject: Implement the "en" feature: Editting notes --- todo.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'todo.go') diff --git a/todo.go b/todo.go index 9619bdb..cda6cc3 100644 --- a/todo.go +++ b/todo.go @@ -129,6 +129,8 @@ func usage() { fmt.Println("\tLists notes of the todo with id 12\n") yellow.Println("\ttodo dn 12 3") fmt.Println("\tDeletes the 3rd note of the todo with id 12\n") + yellow.Println("\ttodo en 12 3 check http://that.web.site") + fmt.Println("\tEditing the 3rd note of the todo with id 12 to \"http://that.web.site\" \n") blueBold.Println("\nGarbage Collection") yellow.Println("\ttodo gc") @@ -161,7 +163,7 @@ func routeInput(command string, input string) { app.EditTodo(input) case "ex", "expand": app.ExpandTodo(input) - case "an", "ln", "dn": + case "an", "ln", "dn", "en": app.ManipulateNotes(input) case "gc": app.GarbageCollect() -- cgit v1.3