diff options
author | Michael Vetter <jubalh@iodoru.org> | 2020-05-24 17:17:20 +0200 |
---|---|---|
committer | Michael Vetter <jubalh@iodoru.org> | 2020-05-24 17:55:08 +0200 |
commit | f121554088a6bffd2721b94c46a40d8ec61e0b46 (patch) | |
tree | 3f641f76d7c35dedb6930cd56023056335b12f9c /src/command/cmd_defs.c | |
parent | ca3972b3ca85a8ba50da46e679832dcedfadcce7 (diff) | |
download | profani-tty-f121554088a6bffd2721b94c46a40d8ec61e0b46.tar.gz |
List ignored bookmarks
`/bookmarl ignore` lists the ignored bookmarks. Regards https://github.com/profanity-im/profanity/issues/1115
Diffstat (limited to 'src/command/cmd_defs.c')
-rw-r--r-- | src/command/cmd_defs.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/command/cmd_defs.c b/src/command/cmd_defs.c index 485c8324..d8a06bf2 100644 --- a/src/command/cmd_defs.c +++ b/src/command/cmd_defs.c @@ -795,7 +795,9 @@ static struct cmd_t command_defs[] = { "/bookmark", parse_args, 0, 8, NULL, - CMD_NOSUBFUNCS + CMD_SUBFUNCS( + { "ignore", cmd_bookmark_ignore } + ) CMD_MAINFUNC(cmd_bookmark) CMD_TAGS( CMD_TAG_GROUPCHAT) @@ -806,7 +808,8 @@ static struct cmd_t command_defs[] = "/bookmark update <room> [nick <nick>] [password <password>] [name <roomname>] autojoin on|off]", "/bookmark remove [<room>]", "/bookmark join <room>", - "/bookmark invites on|off") + "/bookmark invites on|off", + "/bookmark ignore") CMD_DESC( "Manage bookmarks and join bookmarked rooms. " "In a chat room, no arguments will bookmark the current room, setting autojoin to \"on\".") |