about summary refs log tree commit diff stats
path: root/src/command/cmd_defs.c
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2018-02-04 21:59:33 +0000
committerJames Booth <boothj5@gmail.com>2018-02-04 21:59:33 +0000
commit8db2389df6e1d0bdfda97bee5d2e9b29b87e438d (patch)
tree2a412412d402a5ebe8d01d6ad6a5b3f1a6001a79 /src/command/cmd_defs.c
parenta04b02c928baa5d525b879f72cd1acec93d1286a (diff)
downloadprofani-tty-8db2389df6e1d0bdfda97bee5d2e9b29b87e438d.tar.gz
Filter rooms by simple case insensitive text
Diffstat (limited to 'src/command/cmd_defs.c')
-rw-r--r--src/command/cmd_defs.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/command/cmd_defs.c b/src/command/cmd_defs.c
index 6d4a6ab9..1bad76cf 100644
--- a/src/command/cmd_defs.c
+++ b/src/command/cmd_defs.c
@@ -795,21 +795,21 @@ static struct cmd_t command_defs[] =
             CMD_TAG_GROUPCHAT)
         CMD_SYN(
             "/rooms",
-            "/rooms filter <glob>",
+            "/rooms filter <text>",
             "/rooms service <service>",
-            "/rooms service <service> filter <glob>")
+            "/rooms service <service> filter <text>")
         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.<domain-part>' by default. "
-            "The filter argument accepts a glob (including * and ?) and filters the results.")
+            "The filter argument only shows rooms that contain the provided text, case insensitive.")
         CMD_ARGS(
             { "service <service>", "The conference service to query." },
-            { "filter <glob>", "The glob to filter results by."})
+            { "filter <text>", "The text to filter results by."})
         CMD_EXAMPLES(
             "/rooms",
-            "/rooms filter *development*",
+            "/rooms filter development",
             "/rooms service conference.jabber.org",
-            "/rooms service conference.jabber.org filter *xsf*")
+            "/rooms service conference.jabber.org filter \"News Room\"")
     },
 
     { "/bookmark",