1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-12-04 14:46:46 -05:00

Tidy help

This commit is contained in:
James Booth 2015-02-16 22:37:17 +00:00
parent 965187edef
commit 2605b84a70

View File

@ -116,8 +116,10 @@ static struct cmd_t command_defs[] =
{ "/help [area|command]", { "/help [area|command]",
"--------------------", "--------------------",
"Help on using Profanity.", "Help on using Profanity.",
"",
"area - Summary help for commands in a certain area of functionality.", "area - Summary help for commands in a certain area of functionality.",
"command - Full help for a specific command, for example '/help connect'.", "command - Full help for a specific command, for example '/help connect'.",
"",
"Use with no arguments to see a list of areas.", "Use with no arguments to see a list of areas.",
NULL } } }, NULL } } },
@ -135,9 +137,11 @@ static struct cmd_t command_defs[] =
{ "/connect [account] [server value] [port value]", { "/connect [account] [server value] [port value]",
"----------------------------------------------", "----------------------------------------------",
"Login to a chat service.", "Login to a chat service.",
"",
"account - The local account you wish to connect with, or a JID if connecting for the first time.", "account - The local account you wish to connect with, or a JID if connecting for the first time.",
"server value - Supply a server if it is different to the domain part of your JID.", "server value - Supply a server if it is different to the domain part of your JID.",
"port value - The port to use if different to the default (5222, or 5223 for SSL).", "port value - The port to use if different to the default (5222, or 5223 for SSL).",
"",
"If no account is specified, the default is used if one is configured.", "If no account is specified, the default is used if one is configured.",
"A local account is created with the JID as it's name if it doesn't already exist.", "A local account is created with the JID as it's name if it doesn't already exist.",
NULL } } }, NULL } } },
@ -156,9 +160,11 @@ static struct cmd_t command_defs[] =
{ "/msg contact|nick [message]", { "/msg contact|nick [message]",
"---------------------------", "---------------------------",
"Send a one to one chat message, or a private message to a chat room occupant.", "Send a one to one chat message, or a private message to a chat room occupant.",
"",
"contact - The contact's JID, or nickname if one has been set in your roster.", "contact - The contact's JID, or nickname if one has been set in your roster.",
"nick - A chat room occupant, to whom you wish to send a private message.", "nick - A chat room occupant, to whom you wish to send a private message.",
"message - The message to send", "message - The message to send",
"",
"If the message is omitted, a new chat window will be opened without sending a message.", "If the message is omitted, a new chat window will be opened without sending a message.",
"Use quotes if the nickname includes spaces.", "Use quotes if the nickname includes spaces.",
NULL } } }, NULL } } },
@ -169,7 +175,9 @@ static struct cmd_t command_defs[] =
{ "/roster [command] [args..]", { "/roster [command] [args..]",
"--------------------------", "--------------------------",
"Manage your roster, and roster display settings.", "Manage your roster, and roster display settings.",
"",
"command - online|show|hide|by|size|add|remove|nick|clearnick", "command - online|show|hide|by|size|add|remove|nick|clearnick",
"",
"online - Show all online contacts in your roster.", "online - Show all online contacts in your roster.",
"show - Show the roster panel.", "show - Show the roster panel.",
"show offline - Show offline contacts in the roster panel.", "show offline - Show offline contacts in the roster panel.",
@ -185,6 +193,7 @@ static struct cmd_t command_defs[] =
"remove jid - Removes an item from the roster.", "remove jid - Removes an item from the roster.",
"nick jid nick - Change a contacts nickname.", "nick jid nick - Change a contacts nickname.",
"clearnick jid - Removes the current nickname.", "clearnick jid - Removes the current nickname.",
"",
"Passing no arguments lists all contacts in your roster.", "Passing no arguments lists all contacts in your roster.",
NULL } } }, NULL } } },
@ -194,9 +203,11 @@ static struct cmd_t command_defs[] =
{ "/group [show|add|remove] [group] [contact]", { "/group [show|add|remove] [group] [contact]",
"------------------------------------------", "------------------------------------------",
"View, add to, and remove from roster groups.", "View, add to, and remove from roster groups.",
"",
"show group - List all roster items a group.", "show group - List all roster items a group.",
"add group contact - Added a contact to a group.", "add group contact - Added a contact to a group.",
"remove group contact - Remove a contact from a group.", "remove group contact - Remove a contact from a group.",
"",
"Passing no argument will list all roster groups.", "Passing no argument will list all roster groups.",
NULL } } }, NULL } } },
@ -206,8 +217,10 @@ static struct cmd_t command_defs[] =
{ "/info [contact|nick]", { "/info [contact|nick]",
"--------------------", "--------------------",
"Show information about a contact, room, or room member.", "Show information about a contact, room, or room member.",
"",
"contact - The contact you wish to view information about.", "contact - The contact you wish to view information about.",
"nick - When in a chat room, the occupant you wish to view information about.", "nick - When in a chat room, the occupant you wish to view information about.",
"",
"Passing no argument in a chat window will use the current recipient.", "Passing no argument in a chat window will use the current recipient.",
"Passing no argument in a chat room will display information about the room.", "Passing no argument in a chat room will display information about the room.",
NULL } } }, NULL } } },
@ -218,8 +231,10 @@ static struct cmd_t command_defs[] =
{ "/caps [fulljid|nick]", { "/caps [fulljid|nick]",
"--------------------", "--------------------",
"Find out a contacts, or room members client software capabilities.", "Find out a contacts, or room members client software capabilities.",
"",
"fulljid - If in the console or a chat window, the full JID for which you wish to see capabilities.", "fulljid - If in the console or a chat window, the full JID for which you wish to see capabilities.",
"nick - If in a chat room, nickname for which you wish to see capabilities.", "nick - If in a chat room, nickname for which you wish to see capabilities.",
"",
"If in private chat initiated from a chat room, no parameter is required.", "If in private chat initiated from a chat room, no parameter is required.",
NULL } } }, NULL } } },
@ -229,8 +244,10 @@ static struct cmd_t command_defs[] =
{ "/software [fulljid|nick]", { "/software [fulljid|nick]",
"------------------------", "------------------------",
"Find out a contact, or room members software version information.", "Find out a contact, or room members software version information.",
"",
"fulljid - If in the console or a chat window, the full JID for which you wish to see software information.", "fulljid - If in the console or a chat window, the full JID for which you wish to see software information.",
"nick - If in a chat room, nickname for which you wish to see software information.", "nick - If in a chat room, nickname for which you wish to see software information.",
"",
"If in private chat initiated from a chat room, no parameter is required.", "If in private chat initiated from a chat room, no parameter is required.",
"If the contact's software does not support software version requests, nothing will be displayed.", "If the contact's software does not support software version requests, nothing will be displayed.",
NULL } } }, NULL } } },
@ -241,8 +258,10 @@ static struct cmd_t command_defs[] =
{ "/status [contact|nick]", { "/status [contact|nick]",
"----------------------", "----------------------",
"Find out a contact, or room members presence information.", "Find out a contact, or room members presence information.",
"",
"contact - The contact who's presence you which to see.", "contact - The contact who's presence you which to see.",
"nick - If in a chat room, the occupant who's presence you wish to see.", "nick - If in a chat room, the occupant who's presence you wish to see.",
"",
"If in a chat window the parameter is not required, the current recipient will be used.", "If in a chat window the parameter is not required, the current recipient will be used.",
NULL } } }, NULL } } },
@ -252,6 +271,7 @@ static struct cmd_t command_defs[] =
{ "/resource set|off|title|message [resource]", { "/resource set|off|title|message [resource]",
"------------------------------------------", "------------------------------------------",
"Override chat session resource, and manage resource display settings.", "Override chat session resource, and manage resource display settings.",
"",
"set resource - Set the resource to which messages will be sent.", "set resource - Set the resource to which messages will be sent.",
"off - Let the server choose which resource to route messages to.", "off - Let the server choose which resource to route messages to.",
"title on|off - Show or hide the current resource in the titlebar.", "title on|off - Show or hide the current resource in the titlebar.",
@ -264,10 +284,12 @@ static struct cmd_t command_defs[] =
{ "/join room[@server] [nick value] [password value]", { "/join room[@server] [nick value] [password value]",
"-------------------------------------------------", "-------------------------------------------------",
"Join a chat room at the conference server.", "Join a chat room at the conference server.",
"",
"room - Bare room JID, the chat server is determined by the 'muc.service' account property, 'conference.<domainpart>' by default.", "room - Bare room JID, the chat server is determined by the 'muc.service' account property, 'conference.<domainpart>' by default.",
"room@server - Full room JID.", "room@server - Full room JID.",
"nick value - Nickname to use in the room", "nick value - Nickname to use in the room",
"password value - Password if the room requires it.", "password value - Password if the room requires it.",
"",
"If no nickname is specfied the account preference 'muc.nick' will be used which by default is the localpart of your JID.", "If no nickname is specfied the account preference 'muc.nick' will be used which by default is the localpart of your JID.",
"If the room doesn't exist, and the server allows it, a new one will be created.", "If the room doesn't exist, and the server allows it, a new one will be created.",
NULL } } }, NULL } } },
@ -286,6 +308,7 @@ static struct cmd_t command_defs[] =
{ "/invite contact [message]", { "/invite contact [message]",
"-------------------------", "-------------------------",
"Send a direct invite to the current chat room.", "Send a direct invite to the current chat room.",
"",
"contact - The contact you wish to invite", "contact - The contact you wish to invite",
"message - An optional message to send with the invite.", "message - An optional message to send with the invite.",
NULL } } }, NULL } } },
@ -304,6 +327,7 @@ static struct cmd_t command_defs[] =
{ "/decline room", { "/decline room",
"-------------", "-------------",
"Decline a chat room ivivation.", "Decline a chat room ivivation.",
"",
"room - The room for the invite you wish to decline.", "room - The room for the invite you wish to decline.",
NULL } } }, NULL } } },
@ -313,6 +337,7 @@ static struct cmd_t command_defs[] =
{ "/room accept|destroy|config", { "/room accept|destroy|config",
"---------------------------", "---------------------------",
"Chat room configuration.", "Chat room configuration.",
"",
"accept - Accept default room configuration.", "accept - Accept default room configuration.",
"destroy - Reject default room configuration.", "destroy - Reject default room configuration.",
"config - Edit room configuration.", "config - Edit room configuration.",
@ -324,6 +349,7 @@ static struct cmd_t command_defs[] =
{ "/kick nick [reason]", { "/kick nick [reason]",
"-------------------", "-------------------",
"Kick occupants from chat rooms.", "Kick occupants from chat rooms.",
"",
"nick - Nickname of the occupant to kick from the room.", "nick - Nickname of the occupant to kick from the room.",
"reason - Optional reason for kicking the occupant.", "reason - Optional reason for kicking the occupant.",
NULL } } }, NULL } } },
@ -334,6 +360,7 @@ static struct cmd_t command_defs[] =
{ "/ban jid [reason]", { "/ban jid [reason]",
"-----------------", "-----------------",
"Ban users from chat rooms.", "Ban users from chat rooms.",
"",
"jid - Bare JID of the user to ban from the room.", "jid - Bare JID of the user to ban from the room.",
"reason - Optional reason for banning the user.", "reason - Optional reason for banning the user.",
NULL } } }, NULL } } },
@ -344,6 +371,7 @@ static struct cmd_t command_defs[] =
{ "/subject set|clear [subject]", { "/subject set|clear [subject]",
"----------------------------", "----------------------------",
"Set or clear room subject.", "Set or clear room subject.",
"",
"set subject - Set the room subject.", "set subject - Set the room subject.",
"clear - Clear the room subject.", "clear - Clear the room subject.",
NULL } } }, NULL } } },
@ -354,8 +382,10 @@ static struct cmd_t command_defs[] =
{ "/affiliation set|list [affiliation] [jid] [reason]", { "/affiliation set|list [affiliation] [jid] [reason]",
"--------------------------------------------------", "--------------------------------------------------",
"Manage room affiliations.", "Manage room affiliations.",
"",
"set affiliation jid [reason]- Set the affiliation of user with jid, with an optional reason.", "set affiliation jid [reason]- Set the affiliation of user with jid, with an optional reason.",
"list [affiliation] - List all users with the specified affiliation, or all if none specified.", "list [affiliation] - List all users with the specified affiliation, or all if none specified.",
"",
"The affiliation may be one of owner, admin, member, outcast or none.", "The affiliation may be one of owner, admin, member, outcast or none.",
NULL } } }, NULL } } },
@ -365,8 +395,10 @@ static struct cmd_t command_defs[] =
{ "/role set|list [role] [nick] [reason]", { "/role set|list [role] [nick] [reason]",
"-------------------------------------", "-------------------------------------",
"Manage room roles.", "Manage room roles.",
"",
"set role nick [reason] - Set the role of occupant with nick, with an optional reason.", "set role nick [reason] - Set the role of occupant with nick, with an optional reason.",
"list [role] - List all occupants with the specified role, or all if none specified.", "list [role] - List all occupants with the specified role, or all if none specified.",
"",
"The role may be one of moderator, participant, visitor or none.", "The role may be one of moderator, participant, visitor or none.",
NULL } } }, NULL } } },
@ -376,6 +408,7 @@ static struct cmd_t command_defs[] =
{ "/occupants show|hide|default|size [show|hide] [percent]", { "/occupants show|hide|default|size [show|hide] [percent]",
"-------------------------------------------------------", "-------------------------------------------------------",
"Show or hide room occupants, and occupants panel display settings.", "Show or hide room occupants, and occupants panel display settings.",
"",
"show - Show the occupants panel in chat rooms.", "show - Show the occupants panel in chat rooms.",
"hide - Hide the occupants panel in chat rooms.", "hide - Hide the occupants panel in chat rooms.",
"default show|hide - Whether occupants are shown by default in new rooms, 'show' or 'hide'", "default show|hide - Whether occupants are shown by default in new rooms, 'show' or 'hide'",
@ -387,7 +420,8 @@ static struct cmd_t command_defs[] =
{ "/form show|submit|cancel|help [tag]", "Form handling.", { "/form show|submit|cancel|help [tag]", "Form handling.",
{ "/form show|submit|cancel|help [tag]", { "/form show|submit|cancel|help [tag]",
"-----------------------------------", "-----------------------------------",
"Form configuration." "Form configuration.",
"",
"show - Show the current form.", "show - Show the current form.",
"submit - Submit the current form.", "submit - Submit the current form.",
"cancel - Cancel changes to the current form.", "cancel - Cancel changes to the current form.",
@ -400,45 +434,43 @@ static struct cmd_t command_defs[] =
{ "/rooms [conference-service]", { "/rooms [conference-service]",
"---------------------------", "---------------------------",
"List the chat rooms available at the specified conference service", "List the chat rooms available at the specified conference service",
"If no argument is supplied, the account preference 'muc.service' is used, which is 'conference.<domain-part>' by default.",
"", "",
"Example : /rooms conference.jabber.org", "conference-service - The conference service to query.",
"Example : /rooms (if logged in as me@server.org, is equivalent to /rooms conference.server.org)", "",
"If no argument is supplied, the account preference 'muc.service' is used, 'conference.<domain-part>' by default.",
NULL } } }, NULL } } },
{ "/bookmark", { "/bookmark",
cmd_bookmark, parse_args, 0, 8, NULL, cmd_bookmark, parse_args, 0, 8, NULL,
{ "/bookmark [list|add|update|remove|join] [room@server] [nick value] [password value] [autojoin on|off]", "Manage bookmarks.", { "/bookmark [command] [args..]", "Manage bookmarks.",
{ "/bookmark [list|add|update|remove|join] [room@server] [nick value] [password value] [autojoin on|off]", { "/bookmark [command] [args..]",
"---------------------------------------------------------------------------------------------------", "----------------------------",
"Manage bookmarks.", "Manage bookmarks and join bookmarked rooms.",
"list: List all bookmarks.", "",
"add: Add a bookmark for room@server with the following optional properties:", "command - list|add|update|remove|join",
" nick: Nickname used in the chat room", "",
" password: Password for private rooms, note this may be stored in plaintext on your server", "list - List all bookmarks.",
" autojoin: Whether to join the room automatically on login \"on\" or \"off\".", "add room@server [prop value..] - Add a bookmark for room@server with the following optional properties:",
"update: Update any of the above properties associated with the bookmark.", " nick value - Nickname used in the chat room",
"remove: Remove the bookmark for room@server.", " password value - Password if required, may be stored in plaintext on your server",
"join: Join room@server using the properties associated with the bookmark.", " autojoin on|off - Whether to join the room automatically on login.",
"When in a chat room, the /bookmark command with no arguments will bookmark the current room with the current settings, and set autojoin to \"on\".", "update room@server [prop value..] - Update any of the above properties associated with the bookmark.",
"remove room@server - Remove the bookmark for room@server.",
"join room@server - Join room using the properties associated with the bookmark.",
"",
"In a chat room, /bookmark with no arguments will bookmark the current room, setting autojoin to \"on\".",
NULL } } }, NULL } } },
{ "/disco", { "/disco",
cmd_disco, parse_args, 1, 2, NULL, cmd_disco, parse_args, 1, 2, NULL,
{ "/disco command entity", "Service discovery.", { "/disco info|items entity", "Service discovery.",
{ "/disco command entity", { "/disco info|items entity",
"---------------------", "---------------------",
"Find out information about an entities supported services.", "Find out information about an entities supported services.",
"Command may be one of:",
"info: List protocols and features supported by an entity.",
"items: List items associated with an entity.",
"", "",
"The entity must be a Jabber ID.", "info - List protocols and features supported by an entity.",
"", "items - List items associated with an entity.",
"Example : /disco info myserver.org", "entity - Jabber ID.",
"Example : /disco items myserver.org",
"Example : /disco items conference.jabber.org",
"Example : /disco info myfriend@server.com/laptop",
NULL } } }, NULL } } },
{ "/nick", { "/nick",
@ -447,52 +479,49 @@ static struct cmd_t command_defs[] =
{ "/nick nickname", { "/nick nickname",
"--------------", "--------------",
"Change the name by which other members of a chat room see you.", "Change the name by which other members of a chat room see you.",
"This command is only valid when called within a chat room window.",
"", "",
"Example : /nick kai hansen", "nickname - The new nickname.",
"Example : /nick bob",
NULL } } }, NULL } } },
{ "/win", { "/win",
cmd_win, parse_args, 1, 1, NULL, cmd_win, parse_args, 1, 1, NULL,
{ "/win num", "View a window.", { "/win num", "View a window.",
{ "/win num", { "/win num",
"------------------", "--------",
"Show the contents of a specific window in the main window area.", "Show the contents of a specific window in the main window area.",
"",
"num - Window number to display.",
NULL } } }, NULL } } },
{ "/wins", { "/wins",
cmd_wins, parse_args, 0, 3, NULL, cmd_wins, parse_args, 0, 3, NULL,
{ "/wins [tidy|prune|swap] [source] [target]", "List or tidy active windows.", { "/wins [tidy|prune|swap] [source target]", "List or tidy active windows.",
{ "/wins [tidy|prune|swap] [source] [target]", { "/wins [tidy|prune|swap] [source target]",
"-----------------------------------------", "---------------------------------------",
"Show a list of windows, or tidy or swap.",
"",
"tidy - Move windows so there are no gaps.",
"prune - Close all windows with no unread messages, and then tidy as above.",
"swap source target - Swap windows, target may be an empty position.",
"",
"Passing no argument will list all currently active windows and information about their usage.", "Passing no argument will list all currently active windows and information about their usage.",
"tidy : Shuffle windows so there are no gaps.",
"prune : Close all windows with no unread messages, and then tidy as above.",
"swap source target : Swap windows, target may be an empty position.",
NULL } } }, NULL } } },
{ "/sub", { "/sub",
cmd_sub, parse_args, 1, 2, NULL, cmd_sub, parse_args, 1, 2, NULL,
{ "/sub command [jid]", "Manage subscriptions.", { "/sub request|allow|deny|show|sent|received [jid]", "Manage subscriptions.",
{ "/sub command [jid]", { "/sub request|allow|deny|show|sent|received [jid]",
"------------------", "------------------------------------------------",
"command : One of the following,", "Manage subscriptions to contact presence.",
"request : Send a subscription request to the user to be informed of their",
" : presence.",
"allow : Approve a contact's subscription reqeust to see your presence.",
"deny : Remove subscription for a contact, or deny a request",
"show : Show subscriprion status for a contact.",
"sent : Show all sent subscription requests pending a response.",
"received : Show all received subscription requests awaiting your response.",
"", "",
"The optional 'jid' parameter only applys to 'request', 'allow', 'deny' and 'show'", "request [jid] - Send a subscription request to the user.",
"If it is omitted the contact of the current window is used.", "allow [jid] - Approve a contact's subscription reqeust.",
"deny [jid] - Remove subscription for a contact, or deny a request",
"show [jid] - Show subscriprion status for a contact.",
"sent - Show all sent subscription requests pending a response.",
"received - Show all received subscription requests awaiting your response.",
"", "",
"Example: /sub request myfriend@jabber.org", "If jid is omitted, the contact of the current window is used.",
"Example: /sub allow myfriend@jabber.org",
"Example: /sub request (whilst in chat with contact)",
"Example: /sub sent",
NULL } } }, NULL } } },
{ "/tiny", { "/tiny",
@ -500,9 +529,9 @@ static struct cmd_t command_defs[] =
{ "/tiny url", "Send url as tinyurl in current chat.", { "/tiny url", "Send url as tinyurl in current chat.",
{ "/tiny url", { "/tiny url",
"---------", "---------",
"Send the url as a tiny url.", "Send url as tinyurl in current chat.",
"", "",
"Example : /tiny http://www.profanity.im", "url - The url to make tiny.",
NULL } } }, NULL } } },
{ "/who", { "/who",
@ -510,31 +539,30 @@ static struct cmd_t command_defs[] =
{ "/who [status|role|affiliation] [group]", "Show contacts/room occupants with chosen status, role or affiliation", { "/who [status|role|affiliation] [group]", "Show contacts/room occupants with chosen status, role or affiliation",
{ "/who [status|role|affiliation] [group]", { "/who [status|role|affiliation] [group]",
"--------------------------------------", "--------------------------------------",
"Normal usage:", "Show contacts/room occupants with chosen status, role or affiliation",
"Status may be one of - online, offline, away, dnd, xa, chat, available, unavailable, or any where:",
"online : Contacts that are online, chat, away, xa, dnd",
"available : Contacts that are available for chat - online, chat.",
"unavailable : Contacts that are not available for chat - offline, away, xa, dnd.",
"any : Contacts with any status (same as calling with no argument).",
"", "",
"The group argument filters the list by that group.", "status - online|offline|away|dnd|xa|chat|available|unavailable|any",
"", " online - Contacts that are online, chat, away, xa, dnd",
"In a chat room, a role or affiliation may also be supplied instead of status.", " available - Contacts that are available for chat - online, chat.",
"Roles: moderator, participant, visitor", " unavailable - Contacts that are not available for chat - offline, away, xa, dnd.",
"Affiliations: owner, admin, member", " any - Contacts with any status (same as calling with no argument).",
"role - moderator|participant|visitor",
"affiliation - owner|admin|member",
"group - Filter the results by the specfied group.",
NULL } } }, NULL } } },
{ "/close", { "/close",
cmd_close, parse_args, 0, 1, NULL, cmd_close, parse_args, 0, 1, NULL,
{ "/close [win|read|all]", "Close windows.", { "/close [num|read|all]", "Close windows.",
{ "/close [win|read|all]", { "/close [num|read|all]",
"---------------------", "---------------------",
"Close the current window, or a number of windows.",
"",
"num - Close the specified window.",
"all - Close all windows.",
"read - Close all windows that have no new messages.",
"",
"Passing no argument will close the current window.", "Passing no argument will close the current window.",
"2,3,4,5,6,7,8,9 or 0 : Close the specified window.",
"all : Close all currently open windows.",
"read : Close all windows that have no new messages.",
"The console window cannot be closed.",
"If in a chat room, you will leave the room.",
NULL } } }, NULL } } },
{ "/clear", { "/clear",
@ -557,8 +585,8 @@ static struct cmd_t command_defs[] =
cmd_privileges, parse_args, 1, 1, &cons_privileges_setting, cmd_privileges, parse_args, 1, 1, &cons_privileges_setting,
{ "/privileges on|off", "Show occupant privileges in chat rooms.", { "/privileges on|off", "Show occupant privileges in chat rooms.",
{ "/privileges on|off", { "/privileges on|off",
"---------------------------", "------------------",
"If enabled the room roster will be broken down my role, and role information will be showin in the room.", "If enabled the room occupants panel will be grouped by role, and role information will be shown in the room.",
NULL } } }, NULL } } },
{ "/beep", { "/beep",
@ -576,7 +604,7 @@ static struct cmd_t command_defs[] =
{ "/presence on|off", "Show the contacts presence in the titlebar.", { "/presence on|off", "Show the contacts presence in the titlebar.",
{ "/presence on|off", { "/presence on|off",
"----------------", "----------------",
"Switch display of the contacts presence on or off.", "Switch display of the contacts presence in the titlebar on or off.",
NULL } } }, NULL } } },
{ "/wrap", { "/wrap",
@ -595,7 +623,7 @@ static struct cmd_t command_defs[] =
"Configure time precision for the main window.", "Configure time precision for the main window.",
NULL } } }, NULL } } },
{ "/inpblock", { "/inpblock", // TODO review
cmd_inpblock, parse_args, 2, 2, &cons_inpblock_setting, cmd_inpblock, parse_args, 2, 2, &cons_inpblock_setting,
{ "/inpblock timeout|dynamic [millis|on|off]", "Input blocking delay (dynamic or static).", { "/inpblock timeout|dynamic [millis|on|off]", "Input blocking delay (dynamic or static).",
{ "/inpblock timeout|dynamic [millis|on|off]", { "/inpblock timeout|dynamic [millis|on|off]",