aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/main.rs b/src/main.rs
index 4e2a5f2..8eafd77 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -27,7 +27,7 @@ fn main() -> Result<()> {
let Opt {
db_path,
list_today,
- start_between
+ start_between,
} = Opt::parse();
let conn = db::init(&db_path)?;
if list_today {
@@ -35,9 +35,8 @@ fn main() -> Result<()> {
} else {
match start_between.and_then(cli::parse_timestamp_range) {
Some((from, to)) => print!("{}", cli::start_between(&conn, from, to)?),
- None => gui::run(conn)
+ None => gui::run(conn),
}
};
Ok(())
}
-