wineserver: Return the version information in the same format as wine --version.

This commit is contained in:
Austin English 2010-10-01 03:16:46 -05:00 committed by Alexandre Julliard
parent 141067fcc4
commit c99609a5a0
1 changed files with 2 additions and 1 deletions

View File

@ -36,6 +36,7 @@
#include "file.h" #include "file.h"
#include "thread.h" #include "thread.h"
#include "request.h" #include "request.h"
#include "wine/library.h"
/* command-line options */ /* command-line options */
int debug_level = 0; int debug_level = 0;
@ -107,7 +108,7 @@ static void parse_args( int argc, char *argv[] )
master_socket_timeout = TIMEOUT_INFINITE; master_socket_timeout = TIMEOUT_INFINITE;
break; break;
case 'v': case 'v':
fprintf( stderr, "%s\n", PACKAGE_STRING ); fprintf( stderr, "%s\n", wine_get_build_id());
exit(0); exit(0);
case 'w': case 'w':
wait_for_lock(); wait_for_lock();