diff options
author | Joris | 2022-03-12 19:32:23 +0100 |
---|---|---|
committer | Joris | 2022-03-12 19:33:12 +0100 |
commit | 7b3e446e9d85fb019061978292de37bcbe63dfb2 (patch) | |
tree | 432260cf6430dd506496d4abf21aa9efd190bef3 /src | |
parent | 630c0382ee928f4c3b58abdc1f68ab10fc19d9b7 (diff) |
Add new line to today’s events
This fixes counting the number of events using `wc -l`.
Diffstat (limited to 'src')
-rw-r--r-- | src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |