]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
fix connect help
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 3 Sep 2010 05:23:15 +0000 (05:23 +0000)
committerRudolf Polzer <divverent@alientrap.org>
Fri, 3 Sep 2010 05:17:45 +0000 (07:17 +0200)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10435 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=1b8df685ec8616067bea6a892c294239c27e94f5

host_cmd.c

index 89d49cf62feb5b738612bc2f134fb0c253479bb2..14236454647c0567815aca34c0cb306ca7feb46e 100644 (file)
@@ -522,9 +522,9 @@ User command to connect to server
 */
 void Host_Connect_f (void)
 {
-       if (Cmd_Argc() != 2)
+       if (Cmd_Argc() < 2)
        {
-               Con_Print("connect <serveraddress> : connect to a multiplayer game\n");
+               Con_Print("connect <serveraddress> [<key> <value> ...]: connect to a multiplayer game\n");
                return;
        }
        // clear the rcon password, to prevent vulnerability by stuffcmd-ing a connect command