diff --git a/src/openttd.cpp b/src/openttd.cpp index b29e92f2ea..33595d8851 100644 --- a/src/openttd.cpp +++ b/src/openttd.cpp @@ -174,7 +174,13 @@ static void showhelp(void) p = GetDriverList(p, lastof(buf)); + /* ShowInfo put output to stderr, but version information should go + * to stdout; this is the only exception */ +#if !defined(WIN32) && !defined(WIN64) + printf("%s\n", buf); +#else ShowInfo(buf); +#endif }