diff --git a/src/command/command.c b/src/command/command.c index 9ff66c75..b2a4c438 100644 --- a/src/command/command.c +++ b/src/command/command.c @@ -1399,14 +1399,15 @@ static struct cmd_t command_defs[] = "/account set jid ", "/account set server ", "/account set port ", - "/account set status ", - "/account set online|chat|away|xa|dnd ", + "/account set status ", + "/account set status last", + "/account set ", "/account set resource ", "/account set password ", "/account set eval_password ", "/account set muc ", "/account set nick ", - "/account set otr manual|opportunistic|always", + "/account set otr ", "/account set pgpkeyid ", "/account clear password", "/account clear eval_password", @@ -1418,33 +1419,34 @@ static struct cmd_t command_defs[] = "Commands for creating and managing accounts. " "Calling with no arguments will display information for the current account.") CMD_ARGS( - { "list", "List all accounts." }, - { "show ", "Show details for the specified account." }, - { "enable ", "Enable the account, it will be used for autocompletion." }, - { "disable ", "Disable the account." }, - { "default set ", "Set the default account, used when no argument passed to the /connect command." }, - { "default off", "Clear the default account setting." }, - { "add ", "Create a new account." }, - { "remove ", "Remove an account." }, - { "rename ", "Rename 'account' to 'newaccount'." }, - { "set jid ", "Set the Jabber ID for the account, account name will be used if not set." }, - { "set server ", "The chat server, if different to the domainpart of the JID." }, - { "set port ", "The port used for connecting if not the default (5222, or 5223 for SSL)." }, - { "set status ", "The presence status to use on login, use 'last' to use your last status before logging out." }, - { "set online|chat|away|xa|dnd ", "Set the priority (-128..127) to use for the specified presence." }, - { "set resource ", "The resource to be used for this account." }, - { "set password ", "Password for the account, note this is currently stored in plaintext if set." }, - { "set eval_password ", "Shell command evaluated to retrieve password for the account. Can be used to retrieve password from keyring." }, - { "set muc ", "The default MUC chat service to use, defaults to 'conference.' where the domain part is from the account JID." }, - { "set nick ", "The default nickname to use when joining chat rooms." }, - { "set otr manual|opportunistic|always", "Override global OTR policy for this account, see /otr." }, - { "set pgpkeyid ", "Set the ID of the PGP key for this account, see /pgp." }, - { "clear server", "Remove the server setting for this account." }, - { "clear port", "Remove the port setting for this account." }, - { "clear password", "Remove the password setting for this account." }, - { "clear eval_password", "Remove the eval_password setting for this account." }, - { "clear otr", "Remove the OTR policy setting for this account." }, - { "clear pgpkeyid", "Remove pgpkeyid associated with this account." }) + { "list", "List all accounts." }, + { "enable ", "Enable the account, it will be used for autocompletion." }, + { "show ", "Show details for the specified account." }, + { "disable ", "Disable the account." }, + { "default set ", "Set the default account, used when no argument passed to the /connect command." }, + { "default off", "Clear the default account setting." }, + { "add ", "Create a new account." }, + { "remove ", "Remove an account." }, + { "rename ", "Rename 'account' to 'newaccount'." }, + { "set jid ", "Set the Jabber ID for the account, account name will be used if not set." }, + { "set server ", "The chat server, if different to the domainpart of the JID." }, + { "set port ", "The port used for connecting if not the default (5222, or 5223 for SSL)." }, + { "set status ", "The presence status to use on login." }, + { "set status last", "Use your last status before logging out, when logging in." }, + { "set ", "Set the priority (-128..127) to use for the specified presence." }, + { "set resource ", "The resource to be used for this account." }, + { "set password ", "Password for the account, note this is currently stored in plaintext if set." }, + { "set eval_password ", "Shell command evaluated to retrieve password for the account. Can be used to retrieve password from keyring." }, + { "set muc ", "The default MUC chat service to use, defaults to 'conference.' where the domain part is from the account JID." }, + { "set nick ", "The default nickname to use when joining chat rooms." }, + { "set otr ", "Override global OTR policy for this account, see /otr." }, + { "set pgpkeyid ", "Set the ID of the PGP key for this account, see /pgp." }, + { "clear server", "Remove the server setting for this account." }, + { "clear port", "Remove the port setting for this account." }, + { "clear password", "Remove the password setting for this account." }, + { "clear eval_password", "Remove the eval_password setting for this account." }, + { "clear otr", "Remove the OTR policy setting for this account." }, + { "clear pgpkeyid", "Remove pgpkeyid associated with this account." }) CMD_EXAMPLES( "/account add me", "/account set me jid me@chatty",