diff options
Diffstat (limited to 'src/command/cmd_defs.c')
-rw-r--r-- | src/command/cmd_defs.c | 79 |
1 files changed, 48 insertions, 31 deletions
diff --git a/src/command/cmd_defs.c b/src/command/cmd_defs.c index 47d6087d..036e6c23 100644 --- a/src/command/cmd_defs.c +++ b/src/command/cmd_defs.c @@ -1202,41 +1202,58 @@ static struct cmd_t command_defs[] = CMD_MAINFUNC(cmd_presence) CMD_TAGS( CMD_TAG_UI, - CMD_TAG_CHAT) - CMD_SYN( - "/presence titlebar on|off") - CMD_DESC( - "Show the contacts presence in the titlebar.") - CMD_ARGS( - { "titlebar on|off", "Switch display of the contacts presence in the titlebar on or off." }) - CMD_NOEXAMPLES - }, - - { "/statuses", - parse_args, 2, 2, &cons_statuses_setting, - CMD_NOSUBFUNCS - CMD_MAINFUNC(cmd_statuses) - CMD_TAGS( - CMD_TAG_UI, CMD_TAG_CHAT, CMD_TAG_GROUPCHAT) CMD_SYN( - "/statuses console|chat|muc all|online|none") - CMD_DESC( - "Configure which presence changes are displayed in various windows. " - "The default is 'all' for all windows.") - CMD_ARGS( - { "console", "Configure what is displayed in the console window." }, - { "chat", "Configure what is displayed in chat windows." }, - { "muc", "Configure what is displayed in chat room windows." }, - { "all", "Show all presence changes." }, - { "online", "Show only online/offline changes." }, - { "none", "Don't show any presence changes." }) + "/presence titlebar on|off", + "/presence console all|online|none", + "/presence chat all|online|none", + "/presence room all|online|none") + CMD_DESC( + "Show the contacts presence in the titlebar and configure presence messages in different window types.") + CMD_ARGS( + { "titlebar on|off", "Switch display of the contacts presence in the titlebar on or off." }, + { "console all", "Show all presence changes in the console window." }, + { "console online", "Show only online/offline presence changes in the console window." }, + { "console none", "Don't show any presence changes in the console window." }, + { "chat all", "Show all presence changes in the chat windows." }, + { "chat online", "Show only online/offline presence changes in chat windows." }, + { "chat none", "Don't show any presence changes in chat windows." }, + { "room all", "Show all presence changes in chat room windows." }, + { "room online", "Show only online/offline presence changes in chat room windows." }, + { "room none", "Don't show any presence changes in chat room windows." }) CMD_EXAMPLES( - "/statuses console none", - "/statuses chat online", - "/statuses muc all") - }, + "/presence titlebar off", + "/presence console none", + "/presence chat online", + "/presence room all") + }, + +// { "/statuses", +// parse_args, 2, 2, &cons_statuses_setting, +// CMD_NOSUBFUNCS +// CMD_MAINFUNC(cmd_statuses) +// CMD_TAGS( +// CMD_TAG_UI, +// CMD_TAG_CHAT, +// CMD_TAG_GROUPCHAT) +// CMD_SYN( +// "/statuses console|chat|muc all|online|none") +// CMD_DESC( +// "Configure which presence changes are displayed in various windows. " +// "The default is 'all' for all windows.") +// CMD_ARGS( +// { "console", "Configure what is displayed in the console window." }, +// { "chat", "Configure what is displayed in chat windows." }, +// { "muc", "Configure what is displayed in chat room windows." }, +// { "all", "Show all presence changes." }, +// { "online", "Show only online/offline changes." }, +// { "none", "Don't show any presence changes." }) +// CMD_EXAMPLES( +// "/statuses console none", +// "/statuses chat online", +// "/statuses muc all") +// }, { "/wrap", parse_args, 1, 1, &cons_wrap_setting, |