diff --git a/src/arg.rs b/src/arg.rs index 8d20390..9b2947f 100644 --- a/src/arg.rs +++ b/src/arg.rs @@ -20,7 +20,7 @@ pub fn usage() -> ! println!(); //TODO: generalise units println!(r#"Units: - BYTES\t\tConvert byte unit into single bytes"#); + BYTES Convert byte unit into single bytes"#); std::process::exit(0) } diff --git a/src/conv/bytes.rs b/src/conv/bytes.rs index 040cf9d..03c7f8e 100644 --- a/src/conv/bytes.rs +++ b/src/conv/bytes.rs @@ -11,6 +11,6 @@ impl Conversion for Bytes fn convert(&self, input: &str) -> Result { - + todo!() } } diff --git a/src/main.rs b/src/main.rs index 3951461..d7c35f5 100644 --- a/src/main.rs +++ b/src/main.rs @@ -23,7 +23,7 @@ fn main() { match unwrap!(arg::parse_args()) { Operation::Help => arg::usage(), Operation::Convert(unit, from) => { - unwrap!(conv::dispatch(unit, from)); + unwrap!(conv::dispatch_out(unit, from)); }, } }