diff options
author | James Booth <boothj5@gmail.com> | 2012-10-04 23:18:48 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2012-10-04 23:18:48 +0100 |
commit | e486114e05b30357a96076c98d8423e962d8f491 (patch) | |
tree | 441d27717a54eda5307de67f289fc7b91f40e0e1 /src/command.c | |
parent | 9e2306098617dad0683e7024dc9c0695a428a29a (diff) | |
download | profani-tty-e486114e05b30357a96076c98d8423e962d8f491.tar.gz |
Now checks for exitence of contact before sending message
Diffstat (limited to 'src/command.c')
-rw-r--r-- | src/command.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/command.c b/src/command.c index 45f4f00c..cdb0c384 100644 --- a/src/command.c +++ b/src/command.c @@ -155,10 +155,12 @@ static struct cmd_t main_commands[] = { "/who", _cmd_who, - { "/who", "Find out who is online.", - { "/who", - "----", - "Show the list of all online contacts with their current status message.", + { "/who [status]", "Show contacts with chosen status.", + { "/who [status]", + "-------------", + "Show contacts with the specified status, no status shows all contacts.", + "Possible statuses are: online, offline, away, dnd, xa, chat.", + "online includes: chat, dnd, away, xa.", NULL } } }, { "/close", |