From f1532f710170572c9e736563a7bfd712888736c5 Mon Sep 17 00:00:00 2001 From: Taylor R Campbell Date: Tue, 27 Jul 2010 01:56:36 +0000 Subject: [PATCH] Fix microcode's `--version' output. Write a newline, and force console output. --- src/microcode/option.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/microcode/option.c b/src/microcode/option.c index 5cc52a614..ad9045fc2 100644 --- a/src/microcode/option.c +++ b/src/microcode/option.c @@ -988,7 +988,10 @@ read_command_line_options (int argc, const char ** argv) STACK_SIZE_VARIABLE, DEFAULT_STACK_SIZE)); if (option_show_version) - outf_console ("%s", PACKAGE_STRING); + { + outf_console ("%s\n", PACKAGE_STRING); + outf_flush_console (); + } if (option_show_help) print_help (); if (option_summary) -- 2.25.1