1
1
mirror of https://github.com/profanity-im/profanity.git synced 2025-02-02 15:08:15 -05:00

Fixed help on /connect

This commit is contained in:
James Booth 2012-12-22 23:48:45 +00:00
parent 44dab33552
commit 8756ae552b

View File

@ -160,11 +160,12 @@ static struct cmd_t main_commands[] =
{ "/connect", { "/connect",
_cmd_connect, parse_args, 1, 2, _cmd_connect, parse_args, 1, 2,
{ "/connect jid [server]", "Login to jabber.", { "/connect account [server]", "Login to a chat service.",
{ "/connect jid [server]", { "/connect account [server]",
"----------------------", "-------------------------",
"Connect to an XMPP service using the specified JID (Jabber ID).", "Connect to an XMPP service using the specified account.",
"server : For chat services hosted at a different domain to the 'domain' part of the Jabber ID.", "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@gmail.com",
"Example: /connect myuser@mycompany.com talk.google.com", "Example: /connect myuser@mycompany.com talk.google.com",