From b23c60953f126277c7a06fa226c2eb10a0fe6638 Mon Sep 17 00:00:00 2001 From: Will Song Date: Thu, 27 Nov 2014 12:28:16 -0600 Subject: add some tooltip messages for /account and /connect --- src/command/command.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/command/command.c b/src/command/command.c index 36205960..0603cb74 100644 --- a/src/command/command.c +++ b/src/command/command.c @@ -128,16 +128,18 @@ static struct cmd_t command_defs[] = NULL } } }, { "/connect", - cmd_connect, parse_args, 1, 5, NULL, - { "/connect account [server value] [port value]", "Login to a chat service.", - { "/connect account [server value] [port value]", + cmd_connect, parse_args, 0, 5, NULL, + { "/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 property to specify a server if required.", "Change the default port (5222, or 5223 for SSL) with the port property.", "An account is automatically created if one does not exist.", + "If no account is specified, then the default account is used." "See the /account command for more details.", "", + "Example: /connect", "Example: /connect myuser@gmail.com", "Example: /connect myuser@mycompany.com server talk.google.com", "Example: /connect bob@someplace port 5678", @@ -889,6 +891,7 @@ static struct cmd_t command_defs[] = "show account : Show information about an account.", "enable account : Enable the account, it will be used for autocomplete.", "disable account : Disable the account.", + "default [set|off] [account] : Set the default account.", "add account : Create a new account.", "remove account : Remove an account.", "rename account newname : Rename account to newname.", -- cgit 1.4.1-2-gfad0 ption>
path: root/tests/functionaltests/test_presence.h
blob: 107fa794ba3e941f874facac778ec0a5beed4b74 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15