From e571ccd8ea5a60b25a4b8c52d0ae62bec95e027c Mon Sep 17 00:00:00 2001 From: James Booth Date: Sat, 27 Jan 2018 23:51:03 +0000 Subject: Fix tests, move glob creation --- src/command/cmd_defs.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'src/command/cmd_defs.c') diff --git a/src/command/cmd_defs.c b/src/command/cmd_defs.c index 8d483fe0..6d4a6ab9 100644 --- a/src/command/cmd_defs.c +++ b/src/command/cmd_defs.c @@ -795,20 +795,21 @@ static struct cmd_t command_defs[] = CMD_TAG_GROUPCHAT) CMD_SYN( "/rooms", - "/rooms match ", + "/rooms filter ", "/rooms service ", - "/rooms service match ") + "/rooms service filter ") CMD_DESC( "List the chat rooms available at the specified conference service. " "If no argument is supplied, the account preference 'muc.service' is used, 'conference.' by default. " - "The match argument accepts a glob and returns only room names that match.") + "The filter argument accepts a glob (including * and ?) and filters the results.") CMD_ARGS( { "service ", "The conference service to query." }, - { "match ", "The string to match before displaying results."}) + { "filter ", "The glob to filter results by."}) CMD_EXAMPLES( "/rooms", - "/rooms match *development*", - "/rooms service conference.jabber.org") + "/rooms filter *development*", + "/rooms service conference.jabber.org", + "/rooms service conference.jabber.org filter *xsf*") }, { "/bookmark", -- cgit 1.4.1-2-gfad0