diff options
author | James Booth <boothj5@gmail.com> | 2014-01-18 23:49:15 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2014-01-18 23:49:15 +0000 |
commit | 47fe146a22dc2ab98b64dda3f1fb5bbcbb1d4277 (patch) | |
tree | cadadf944aa62611d3a13c227e7e243aee3854d6 /src | |
parent | b32ba75db5ea16ef3458139332f464af4de23040 (diff) | |
download | profani-tty-47fe146a22dc2ab98b64dda3f1fb5bbcbb1d4277.tar.gz |
Added to and tidied /connect help
Diffstat (limited to 'src')
-rw-r--r-- | src/command/command.c | 16 |
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", |