wesnoth-cvs-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Wesnoth-cvs-commits] wesnoth/src/server server.cpp


From: David White
Subject: [Wesnoth-cvs-commits] wesnoth/src/server server.cpp
Date: Wed, 02 Mar 2005 23:27:12 -0500

CVSROOT:        /cvsroot/wesnoth
Module name:    wesnoth
Branch:         
Changes by:     David White <address@hidden>    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

[Prev in Thread] Current Thread [Next in Thread]