--log=--log || --since=...

main
Bel LaPointe 2023-12-11 16:09:18 -07:00
parent e6ceef2ead
commit fcb144b437
1 changed files with 2 additions and 1 deletions

View File

@ -28,7 +28,8 @@ struct Flags {
}
fn main() {
let flags = Flags::parse();
let mut flags = Flags::parse();
flags.log = flags.log || flags.since.is_some();
clock(&flags.f, &flags.clock).unwrap();
add(&flags.f, &flags.add, &flags.tag).unwrap();