1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-09-22 19:45:54 -04:00

Added to and tidied /connect help

This commit is contained in:
James Booth 2014-01-18 23:49:15 +00:00
parent b32ba75db5
commit 47fe146a22

View File

@ -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",