aboutsummaryrefslogtreecommitdiffstats
path: root/todolist/app.go
diff options
context:
space:
mode:
authorQuey-Liang Kao <s101062801@m101.nthu.edu.tw>2017-08-14 15:45:22 +0800
committerQuey-Liang Kao <s101062801@m101.nthu.edu.tw>2017-08-14 15:50:13 +0800
commit26ec23620d50be79ea664a9095b3653be79e3874 (patch)
treec7cd8f60f6c5f89850bae7db8622646ab47b86ff /todolist/app.go
parent5d28dac9b2e1d153f33551b968ab4c92cfce23ce (diff)
Implement the "ln" feature: Listing notes of a todo
Diffstat (limited to 'todolist/app.go')
-rw-r--r--todolist/app.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/todolist/app.go b/todolist/app.go
index c2bd66a..4d526c9 100644
--- a/todolist/app.go
+++ b/todolist/app.go
@@ -143,7 +143,9 @@ func (a *App) ManipulateNotes(input string) {
retStr := parser.ParseNotes(todo, input)
if retStr != "" {
a.Save()
- fmt.Println("Notes " + retStr + "ed.")
+ if retStr != "list" {
+ fmt.Println("Notes " + retStr + "ed.")
+ }
}
}