diff --git a/src/hru.rs b/src/hru.rs index 2540fb8..0e0b25d 100644 --- a/src/hru.rs +++ b/src/hru.rs @@ -96,7 +96,7 @@ fn main() -> ExitCode { let out = ((number * 10.0).round() / 10.0).to_string(); - stdout().write_all(format!("{} {}", out, si_prefix).as_bytes()) + stdout().write_all(format!("{} {}\n", out, si_prefix).as_bytes()) .unwrap_or_else(|e| { eprintln!("{}: {}.", argv[0], e); exit(EX_IOERR);