From 7b3e446e9d85fb019061978292de37bcbe63dfb2 Mon Sep 17 00:00:00 2001 From: Joris Date: Sat, 12 Mar 2022 19:32:23 +0100 Subject: Add new line to today’s events This fixes counting the number of events using `wc -l`. --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/main.rs b/src/main.rs index 1f5a294..7f51b4c 100644 --- a/src/main.rs +++ b/src/main.rs @@ -25,7 +25,7 @@ fn main() -> Result<()> { } = Opt::from_args(); let conn = db::init(&db_path)?; if list_today { - print!("{}", cli::today(&conn)?); + println!("{}", cli::today(&conn)?); } else { gui::run(conn); } -- cgit v1.2.3