From 028ca92f3a36fed8ebb0a6507e64a50938049e53 Mon Sep 17 00:00:00 2001 From: dequis Date: Tue, 20 Sep 2016 23:48:14 -0300 Subject: doc: some 'chat list' related help improvements --- doc/user-guide/commands.xml | 19 ++++++++++++++++--- doc/user-guide/genhelp.py | 3 ++- 2 files changed, 18 insertions(+), 4 deletions(-) (limited to 'doc') diff --git a/doc/user-guide/commands.xml b/doc/user-guide/commands.xml index fa36d6b7..ef1023cd 100644 --- a/doc/user-guide/commands.xml +++ b/doc/user-guide/commands.xml @@ -257,7 +257,7 @@ - Available actions: add, with. See help chat <action> for more information. + Available actions: add, with, list. See help chat <action> for more information. @@ -271,7 +271,7 @@ - After adding a room to your list, you can simply use the IRC /join command to enter the room. Also, you can tell BitlBee to automatically join the room when you log in. (See chat set) + After adding a room to your list, you can simply use the IRC /join command to enter the room. Also, you can tell BitlBee to automatically join the room when you log in. (channel <channel> set auto_join true) @@ -286,9 +286,18 @@ - List existing chatrooms provided by an account. BitlBee needs this to propogate an internal list of chats. The existing chat can then be added with chat add. + List existing chatrooms provided by an account. BitlBee needs this to propogate an internal list of chats. The existing chat can then be added with chat add, using the number in the index column after a "!" as a shortcut. + + + chat list facebook + Index Title Topic + 1 869891016470949 cool kids club + 2 457892181062459 uncool kids club + 2 facebook chatrooms + chat add facebook !1 #cool-kids-club + @@ -298,6 +307,10 @@ While most chat subcommands are about named chatrooms, this command can be used to open an unnamed groupchat with one or more persons. This command is what /join #nickname used to do in older BitlBee versions. + + + Another way to do this is to join to a new, empty channel with /join #newchannel and invite the first person with /invite nickname + diff --git a/doc/user-guide/genhelp.py b/doc/user-guide/genhelp.py index ec619344..e9a3b2bf 100644 --- a/doc/user-guide/genhelp.py +++ b/doc/user-guide/genhelp.py @@ -64,7 +64,8 @@ def fix_tree(tag, debug=False, lvl=''): print("%s%r" % (lvl, tag.tag, [tag.tail, normalize(tag.tail)])) # Actually normalize whitespace - tag.text = normalize(tag.text) + if 'pre' not in tag.attrib: + tag.text = normalize(tag.text) tag.tail = normalize(tag.tail) -- cgit v1.2.3