From 8756ae552b586ccb8b4a58cacb05a070ef6d4f73 Mon Sep 17 00:00:00 2001 From: James Booth Date: Sat, 22 Dec 2012 23:48:45 +0000 Subject: Fixed help on /connect --- src/command.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/command.c b/src/command.c index 0c7dded5..6fe78ae7 100644 --- a/src/command.c +++ b/src/command.c @@ -160,11 +160,12 @@ static struct cmd_t main_commands[] = { "/connect", _cmd_connect, parse_args, 1, 2, - { "/connect jid [server]", "Login to jabber.", - { "/connect jid [server]", - "----------------------", - "Connect to an XMPP service using the specified JID (Jabber ID).", - "server : For chat services hosted at a different domain to the 'domain' part of the Jabber ID.", + { "/connect account [server]", "Login to a chat service.", + { "/connect account [server]", + "-------------------------", + "Connect to an XMPP service using the specified account.", + "Use the server argument for chat services hosted at a different domain to the 'domain' part of the Jabber ID.", + "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", -- cgit 1.4.1-2-gfad0