fix cat example by flushing stdout at end

This commit is contained in:
Andrew Kelley 2016-04-09 14:40:00 -07:00
parent 7026bed462
commit fdf6a18461

View File

@ -27,6 +27,7 @@ pub fn main(args: [][]u8) -> %void {
if (!catted_anything) {
cat_stream(io.stdin) %% |err| return err;
}
io.stdout.flush() %% |err| return err;
}
fn usage(exe: []u8) -> %void {