forked from bonsai/harakit
hru(1): fixed lack of newline
This commit is contained in:
parent
bd08ef479c
commit
ef1643660b
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user