From fea8945953056012926285ecd7205b69e2a520e6 Mon Sep 17 00:00:00 2001 From: James Booth Date: Fri, 24 Oct 2014 19:23:37 +0100 Subject: [PATCH] Updated /info help --- TODO_045 | 1 - src/command/command.c | 7 +++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/TODO_045 b/TODO_045 index 4e663269..8e4a794e 100644 --- a/TODO_045 +++ b/TODO_045 @@ -1,4 +1,3 @@ -Update /prefs Update inline help Build with latest libstrophe diff --git a/src/command/command.c b/src/command/command.c index 62bf8dfb..178e90b1 100644 --- a/src/command/command.c +++ b/src/command/command.c @@ -207,11 +207,14 @@ static struct cmd_t command_defs[] = { "/info", cmd_info, parse_args, 0, 1, NULL, - { "/info [contact|nick]", "Show basic information about a contact, or room member.", + { "/info [contact|nick]", "Show basic information about a contact, room, or room member.", { "/info [contact|nick]", "--------------------", - "Show information including current subscription status and summary information for each connected resource.", + "Show basic information about a contact, room, or room member.", + "If in the console, a contact must be specified.", "If in a chat window the parameter is not required, the current recipient will be used.", + "If in a chat room, providing no arguments will display information about the room.", + "If in a chat room, supplying a nick will show information about the occupant.", "", "Example : /info mybuddy@chat.server.org", "Example : /info kai",