about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2013-02-17 16:59:20 +0000
committerJames Booth <boothj5@gmail.com>2013-02-17 16:59:20 +0000
commit893242d361407c9c2635fe57f96fa0d5e52115f5 (patch)
treece55e76e42b51cbf10ef2936590dda9a9f63d52e /src
parent5a107459be1d8642897a6efc8ded10f3c7bb4f6c (diff)
downloadprofani-tty-893242d361407c9c2635fe57f96fa0d5e52115f5.tar.gz
Tidied help on /info, /caps and /software
Diffstat (limited to 'src')
-rw-r--r--src/command/command.c24
1 files changed, 14 insertions, 10 deletions
diff --git a/src/command/command.c b/src/command/command.c
index a2b280e3..11d7a140 100644
--- a/src/command/command.c
+++ b/src/command/command.c
@@ -266,26 +266,30 @@ static struct cmd_t main_commands[] =
         { "/info [jid|nick]", "Find out a contacts presence information.",
         { "/info [jid|nick]",
           "----------------",
-          "Find out a contact, or room members presence information.",
+          "Find out a contact, or room members presence information, including all of their available resources.",
           "If in a chat window the parameter is not required, the current recipient will be used.",
           NULL } } },
 
     { "/caps",
         _cmd_caps, parse_args, 0, 1,
-        { "/caps [jid|nick]", "Find out a contacts client capabilities.",
-        { "/caps [jid|nick]",
-          "----------------",
-          "Find out a contact, or room members client capabilities.",
-          "If in a chat window the parameter is not required, the current recipient will be used.",
+        { "/caps [fulljid|nick]", "Find out a contacts client software capabilities.",
+        { "/caps [fulljid|nick]",
+          "--------------------",
+          "Find out a contact, or room members client software capabilities.",
+          "If in the console window or a regular chat window, a full JID is required.",
+          "If in a chat room, the nickname is required.",
+          "If in private chat, no parameter is required.",
           NULL } } },
 
     { "/software",
         _cmd_software, parse_args, 0, 1,
-        { "/software [jid|nick]", "Find out a software version information about a contacts resource.",
-        { "/software [jid|nick]",
-          "--------------------",
+        { "/software [fulljid|nick]", "Find out a software version information about a contacts resource.",
+        { "/software [fulljid|nick]",
+          "------------------------",
           "Find out a contact, or room members software version information.",
-          "If in a chat window the parameter is not required, the current recipient will be used.",
+          "If in the console window or a regular chat window, a full JID is required.",
+          "If in a chat room, the nickname is required.",
+          "If in private chat, no parameter is required.",
           NULL } } },
 
     { "/status",