aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoris2022-03-12 19:32:23 +0100
committerJoris2022-03-12 19:33:12 +0100
commit7b3e446e9d85fb019061978292de37bcbe63dfb2 (patch)
tree432260cf6430dd506496d4abf21aa9efd190bef3
parent630c0382ee928f4c3b58abdc1f68ab10fc19d9b7 (diff)
downloadcalendar-7b3e446e9d85fb019061978292de37bcbe63dfb2.tar.gz
calendar-7b3e446e9d85fb019061978292de37bcbe63dfb2.tar.bz2
calendar-7b3e446e9d85fb019061978292de37bcbe63dfb2.zip
Add new line to today’s events
This fixes counting the number of events using `wc -l`.
-rw-r--r--README.md7
-rw-r--r--src/main.rs2
2 files changed, 2 insertions, 7 deletions
diff --git a/README.md b/README.md
index a83fda3..567d487 100644
--- a/README.md
+++ b/README.md
@@ -22,13 +22,9 @@ cargo test
- Optimize refresh
-### Mouse
-
-- Improve mouse precision
-
### Recurring
-- Add end date for a recurring event
+- Add end repetition date for a recurring event
- Give the possibility to update only future events when modifying recurring event
### Categorize events
@@ -47,4 +43,3 @@ cargo test
- Print errors on forms when validating.
- Validate the form when pressing enter on any field.
- Select the default focus with a button or a shortcut.
-- Specify until which date a recurring event is
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);
}