tBinaries on platforms without GNU getopt (e.g. Win32) now display the help for… | |
git clone git://src.adamsgaard.dk/vaccinewars | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 1c974615bb83a0d4f79664eb1cbfe029cae935c1 | |
parent b98ba4087dcf918a99dcb6b758459b06062dae18 | |
Author: Ben Webb <[email protected]> | |
Date: Thu, 27 Jun 2002 17:30:38 +0000 | |
Binaries on platforms without GNU getopt (e.g. Win32) now display the help | |
for the -u (plugin) option properly. | |
Diffstat: | |
M src/dopewars.c | 7 ++++--- | |
1 file changed, 4 insertions(+), 3 deletions(-) | |
--- | |
diff --git a/src/dopewars.c b/src/dopewars.c | |
t@@ -2453,11 +2453,12 @@ Drug dealing game based on \"Drug Wars\" by John E. De… | |
-t force the use of a text-mode client (curses)\n\ | |
(by default, a windowed client is used when possible)\n\ | |
-C file convert an \"old format\" score file to the new format\n\ | |
- -A connect to a locally-running server for administration\n\ | |
- -h display this help information\n\ | |
+ -A connect to a locally-running server for administration\n"), DATADIR… | |
+ PluginHelp(); | |
+g_print(_(" -h display this help information\n\ | |
-v output version information and exit\n\n\ | |
dopewars is Copyright (C) Ben Webb 1998-2002, and released under the GNU GPL\n\ | |
-Report bugs to the author at [email protected]\n"), DATADIR); | |
+Report bugs to the author at [email protected]\n")); | |
#endif | |
} | |