@ -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)
}
@ -11,6 +11,6 @@ impl Conversion for Bytes
fn convert(&self, input: &str) -> Result<Self::Output, Self::Error>
{
todo!()
@ -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));
},