Changeset - r5723:d2674935248f
[Not reviewed]
master
0 1 0
Darkvater - 18 years ago 2007-01-18 14:08:56
darkvater@openttd.org
(svn r8240) -Fix (r8013): Put the output of -h to stdout and not to stderr (through ShowInfo)
1 file changed with 6 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/openttd.cpp
Show inline comments
 
@@ -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
 
}
 

	
 

	
0 comments (0 inline, 0 general)