diff options
author | James Booth <boothj5@gmail.com> | 2015-01-13 00:41:56 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2015-01-13 00:41:56 +0000 |
commit | 21f8b1c4caa354efd3dfe567648916d6e58318a2 (patch) | |
tree | c73c73f5e1f37ed7eb198eb5b3d78cfd0e6b00c7 /src/command/command.c | |
parent | 53a825de744a6aa687f695e7e54dea878c4909e1 (diff) | |
parent | 0cb548683c906eb7e48ddfccde4b95f671dea5fc (diff) | |
download | profani-tty-21f8b1c4caa354efd3dfe567648916d6e58318a2.tar.gz |
Merge remote-tracking branch 'peterlvilim/keyring'
Diffstat (limited to 'src/command/command.c')
-rw-r--r-- | src/command/command.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/command/command.c b/src/command/command.c index ddcdf573..86185f59 100644 --- a/src/command/command.c +++ b/src/command/command.c @@ -941,6 +941,7 @@ static struct cmd_t command_defs[] = "|xa|dnd : Priority for the specified presence.", "resource : The resource to be used.", "password : Password for the account, note this is currently stored in plaintext if set.", + "eval_password : Shell command evaluated to retrieve password for the account. Can be used to retrieve password from keyring.", "muc : The default MUC chat service to use.", "nick : The default nickname to use when joining chat rooms.", "otr : Override global OTR policy for this account: manual, opportunistic or always.", @@ -1272,12 +1273,14 @@ cmd_init(void) autocomplete_add(account_set_ac, "dnd"); autocomplete_add(account_set_ac, "resource"); autocomplete_add(account_set_ac, "password"); + autocomplete_add(account_set_ac, "eval_password"); autocomplete_add(account_set_ac, "muc"); autocomplete_add(account_set_ac, "nick"); autocomplete_add(account_set_ac, "otr"); account_clear_ac = autocomplete_new(); autocomplete_add(account_clear_ac, "password"); + autocomplete_add(account_clear_ac, "eval_password"); autocomplete_add(account_clear_ac, "server"); autocomplete_add(account_clear_ac, "port"); autocomplete_add(account_clear_ac, "otr"); |