diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/openttd.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/openttd.cpp b/src/openttd.cpp index b29e92f2e..33595d885 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 } |