(svn r8240) -Fix (r8013): Put the output of -h to stdout and not to stderr (through ShowInfo)

This commit is contained in:
Darkvater 2007-01-18 14:08:56 +00:00
parent d3a58ba36b
commit 95ccdeeac0

View File

@ -174,7 +174,13 @@ static void showhelp(void)
p = GetDriverList(p, lastof(buf)); 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); ShowInfo(buf);
#endif
} }