From 8ecd2d51115e32f6911ec4776c897b9db18761ce Mon Sep 17 00:00:00 2001 From: Gabor Bata Date: Fri, 5 Mar 2021 16:20:13 +0100 Subject: [PATCH] Minor messaging fix --- bin/todo.rb | 2 +- web/todo.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/todo.rb b/bin/todo.rb index 30fd233..7c2972e 100644 --- a/bin/todo.rb +++ b/bin/todo.rb @@ -373,7 +373,7 @@ def cleanup(patterns) items = filter_tasks(tasks, patterns) items.keys.each do |num| tasks.delete(num) end write_tasks(tasks) - puts "deleted #{items.size} todo(s)" + puts "Deleted #{items.size} todo(s)" end def filter_tasks(tasks, patterns) diff --git a/web/todo.rb b/web/todo.rb index de4b742..fc812d8 100644 --- a/web/todo.rb +++ b/web/todo.rb @@ -371,7 +371,7 @@ def cleanup(patterns) items = filter_tasks(tasks, patterns) items.keys.each do |num| tasks.delete(num) end write_tasks(tasks) - @text_buffer.push "deleted #{items.size} todo(s)" + @text_buffer.push "Deleted #{items.size} todo(s)" end def filter_tasks(tasks, patterns)