CVSROOT:        /cvsroot/wesnoth
Module name:    wesnoth
Branch:         
Changes by:     David White <[EMAIL PROTECTED]> 05/03/03 04:27:11

Modified files:
        src/server     : server.cpp 

Log message:
        added support for running wesnothd as a daemon

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/server/server.cpp.diff?tr1=1.69&tr2=1.70&r1=text&r2=text

Patches:
Index: wesnoth/src/server/server.cpp
diff -u wesnoth/src/server/server.cpp:1.69 wesnoth/src/server/server.cpp:1.70
--- wesnoth/src/server/server.cpp:1.69  Thu Mar  3 04:26:04 2005
+++ wesnoth/src/server/server.cpp       Thu Mar  3 04:27:11 2005
@@ -889,7 +889,8 @@
                        port = atoi(argv[++arg]);
                } else if(val == "--help" || val == "-h") {
                        std::cout << "usage: " << argv[0]
-                               << " [options]\n"
+                               << " [options]\n"
+                               << "  -d  --daemon               Runs wesnothd 
as a daemon\n"
                                << "      --fifo file            Sets the path 
for the FIFO used to communicate with the server\n"
                                << "  -m, --max_packet_size n    Sets the 
maximal packet size to n\n" 
                                << "  -p, --port                 Binds the 
server to the specified port\n"


Reply via email to