(svn r8240) -Fix (r8013): Put the output of -h to stdout and not to stderr (through ShowInfo)
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user