about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2014-03-16 17:59:01 +0000
committerJames Booth <boothj5@gmail.com>2014-03-16 17:59:01 +0000
commit89f306ceb251a1ffe6ea8ea47f5417fc1da24693 (patch)
treef1ad4bdb846161f463b7b6e83ec75ce287f5eccb
parent11c04d9fcd0706109ea88f081fa073d802e27032 (diff)
downloadprofani-tty-89f306ceb251a1ffe6ea8ea47f5417fc1da24693.tar.gz
Updated /roster help
-rw-r--r--src/command/command.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/command/command.c b/src/command/command.c
index dc8a685f..eb00931f 100644
--- a/src/command/command.c
+++ b/src/command/command.c
@@ -144,22 +144,22 @@ static struct cmd_t command_defs[] =
 
     { "/roster",
         cmd_roster, parse_args_with_freetext, 0, 3, NULL,
-        { "/roster [add|remove|nick] [jid] [handle]", "Manage your roster.",
-        { "/roster [add|remove|nick] [jid] [handle]",
-          "----------------------------------------",
+        { "/roster [add|remove|nick|clearnick] [jid] [nickname]", "Manage your roster.",
+        { "/roster [add|remove|nick|clearnick] [jid] [nickname]",
+          "----------------------------------------------------",
           "View, add to, and remove from your roster.",
           "Passing no arguments lists all contacts in your roster.",
-          "The 'add' command will add a new item, the jid is required, the handle is an optional nickname",
-          "The 'remove' command removes a contact, the jid is required.",
-          "The 'nick' command changes a contacts nickname, the jid is required,",
-          "if no handle is supplied, the current one is removed.",
+          "The 'add' command will add a new item, jid is required, nickname is optional.",
+          "The 'remove' command removes a contact, jid is required.",
+          "The 'nick' command changes a contacts nickname, both jid and nickname are required,",
+          "The 'clearnick' command removes the current nickname, jid is required.",
           "",
           "Example : /roster (show your roster)",
           "Example : /roster add someone@contacts.org (add the contact)",
           "Example : /roster add someone@contacts.org Buddy (add the contact with nickname 'Buddy')",
           "Example : /roster remove someone@contacts.org (remove the contact)",
           "Example : /roster nick myfriend@chat.org My Friend",
-          "Example : /roster nick kai@server.com (clears handle)",
+          "Example : /roster clearnick kai@server.com (clears nickname)",
           NULL } } },
 
     { "/group",