about summary refs log tree commit diff stats
path: root/src/command/command.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/command/command.c')
-rw-r--r--src/command/command.c16
1 files changed, 10 insertions, 6 deletions
diff --git a/src/command/command.c b/src/command/command.c
index 0d00a3e8..ccf06740 100644
--- a/src/command/command.c
+++ b/src/command/command.c
@@ -101,15 +101,19 @@ static struct cmd_t command_defs[] =
 
     { "/connect",
         cmd_connect, parse_args, 1, 5, NULL,
-        { "/connect account [server]", "Login to a chat service.",
-        { "/connect account [server]",
-          "-------------------------",
+        { "/connect account [server value] [port value]", "Login to a chat service.",
+        { "/connect account [server value] [port value]",
+          "--------------------------------------------",
           "Connect to an XMPP service using the specified account.",
-          "Use the server argument for chat services hosted at a different domain to the 'domainpart' of the Jabber ID.",
-          "An account is automatically created if one does not exist.  See the /account command for more details.",
+          "Use the server property to specify a server if required.",
+          "Change the default port with the port property.",
+          "An account is automatically created if one does not exist.",
+          "See the /account command for more details.",
           "",
           "Example: /connect myuser@gmail.com",
-          "Example: /connect myuser@mycompany.com talk.google.com",
+          "Example: /connect myuser@mycompany.com server talk.google.com",
+          "Example: /connect bob@someplace port 5678",
+          "Example: /connect me@chatty server chatty.com port 5443",
           NULL  } } },
 
     { "/disconnect",