Moved command-line option handling out of the X11 driver.
Added support for "--" prefix on options.
Replaced a few X11 command-line options by wine.conf parameters.
diff --git a/misc/version.c b/misc/version.c
index 7a4a223..1ebfc43 100644
--- a/misc/version.c
+++ b/misc/version.c
@@ -128,6 +128,7 @@
for (i = 0; i < NB_WINDOWS_VERSIONS; i++)
MESSAGE(" '%s'%c", WinVersionNames[i],
(i == NB_WINDOWS_VERSIONS - 1) ? '\n' : ',' );
+ ExitProcess(1);
}
@@ -144,7 +145,10 @@
(hi<<8) + lo);
}
else
- fprintf( stderr, "-dosver: Wrong version format. Use \"-dosver x.xx\"\n");
+ {
+ MESSAGE("--dosver: Wrong version format. Use \"--dosver x.xx\"\n");
+ ExitProcess(1);
+ }
}
/**********************************************************************