diff --git a/pttodoest/src/main.rs b/pttodoest/src/main.rs index 52db5d0..a1026ff 100755 --- a/pttodoest/src/main.rs +++ b/pttodoest/src/main.rs @@ -6,6 +6,10 @@ use std::io::{BufRead, Read, Write}; pub fn main() { let flags = Flags::new().expect("failed to flags"); + if let Some(add) = flags.add { + panic!("not impl: add {}", add); + } + if flags.edit { edit(flags.files().expect("couldnt find files from flags")).expect("failed to edit"); }