Commit c99609a5 authored by Austin English's avatar Austin English Committed by Alexandre Julliard

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

parent 141067fc
...@@ -36,6 +36,7 @@ ...@@ -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[] ) ...@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment