summaryrefslogtreecommitdiff
path: root/src/core/wee-command.c
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2008-12-19 10:17:55 +0100
committerSebastien Helleu <flashcode@flashtux.org>2008-12-19 10:17:55 +0100
commitd07a7cedc81200436a35474d454d9f0f6857123e (patch)
treebfda16a413d27cb4eedbe4b25ed65df1e41b1097 /src/core/wee-command.c
parentcfc12b2b8c3e17bf29c6295b6e8b312e3283398b (diff)
downloadweechat-d07a7cedc81200436a35474d454d9f0f6857123e.zip
Add sub-items in bars (items glued with "+" as separator instead of comma), add buffer_number default bar item
Diffstat (limited to 'src/core/wee-command.c')
-rw-r--r--src/core/wee-command.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/core/wee-command.c b/src/core/wee-command.c
index a79c6f1c3..8cb4a0ec1 100644
--- a/src/core/wee-command.c
+++ b/src/core/wee-command.c
@@ -3374,7 +3374,8 @@ command_init ()
" size: size of bar (in chars)\n"
" separator: 1 for using separator (line), 0 or nothing "
"means no separator\n"
- " item1,...: items for this bar\n"
+ " item1,...: items for this bar (items can be separated "
+ "by comma (space between items) or \"+\" (glued items))\n"
" default: create default bars\n"
" del: delete a bar (or all bars with -all)\n"
" set: set a value for a bar property\n"
@@ -3394,8 +3395,8 @@ command_init ()
" listfull: list all bars (verbose)\n"
" listitems: list all bar items\n\n"
"Examples:\n"
- " create a bar with time and completion:\n"
- " /bar add mybar root bottom 1 0 [time],completion\n"
+ " create a bar with time, buffer number + name, and completion:\n"
+ " /bar add mybar root bottom 1 0 [time],buffer_number+:+buffer_name,completion\n"
" hide a bar:\n"
" /bar hide mybar\n"
" scroll nicklist 10 lines down on current buffer:\n"