[Orxonox-commit 2407] r7122 - code/branches/presentation3/src/orxonox/gamestates

scheusso at orxonox.net scheusso at orxonox.net
Mon Jun 7 11:36:31 CEST 2010


Author: scheusso
Date: 2010-06-07 11:36:30 +0200 (Mon, 07 Jun 2010)
New Revision: 7122

Modified:
   code/branches/presentation3/src/orxonox/gamestates/GSClient.cc
Log:
changed commandline argument --ip to --dest in order to prevent misunderstandings
corrected typo in description


Modified: code/branches/presentation3/src/orxonox/gamestates/GSClient.cc
===================================================================
--- code/branches/presentation3/src/orxonox/gamestates/GSClient.cc	2010-06-06 23:06:35 UTC (rev 7121)
+++ code/branches/presentation3/src/orxonox/gamestates/GSClient.cc	2010-06-07 09:36:30 UTC (rev 7122)
@@ -39,7 +39,7 @@
 {
     DeclareGameState(GSClient, "client", false, false);
 
-    SetCommandLineArgument(ip, "127.0.0.1").information("Sever IP as string in the form #.#.#.#");
+    SetCommandLineArgument(dest, "127.0.0.1").information("Server hostname/IP (IP in the form of #.#.#.#)");
 
     GSClient::GSClient(const GameStateInfo& info)
         : GameState(info)
@@ -55,7 +55,7 @@
     {
         GameMode::setIsClient(true);
 
-        this->client_ = new Client(CommandLineParser::getValue("ip").getString(), CommandLineParser::getValue("port"));
+        this->client_ = new Client(CommandLineParser::getValue("dest").getString(), CommandLineParser::getValue("port"));
 
         if(!client_->establishConnection())
         {




More information about the Orxonox-commit mailing list