summaryrefslogtreecommitdiff
path: root/src/core/wee-command.c
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2011-06-01 09:07:17 +0200
committerSebastien Helleu <flashcode@flashtux.org>2011-06-01 09:07:17 +0200
commit35120b633c5a7dd01ea73d8073d3a1d7da63bd84 (patch)
tree3c053c282677884cae07179942832e977c13df21 /src/core/wee-command.c
parent60bba82150debdeea71f92376c0ba25133150b2f (diff)
downloadweechat-35120b633c5a7dd01ea73d8073d3a1d7da63bd84.zip
core: add option "infolists" for command /debug
Diffstat (limited to 'src/core/wee-command.c')
-rw-r--r--src/core/wee-command.c28
1 files changed, 17 insertions, 11 deletions
diff --git a/src/core/wee-command.c b/src/core/wee-command.c
index 64463c4d4..35dadf953 100644
--- a/src/core/wee-command.c
+++ b/src/core/wee-command.c
@@ -1152,6 +1152,10 @@ COMMAND_CALLBACK(debug)
{
gui_color_dump (buffer);
}
+ else if (string_strcasecmp (argv[1], "infolists") == 0)
+ {
+ debug_infolists ();
+ }
else if (string_strcasecmp (argv[1], "memory") == 0)
{
debug_memory ();
@@ -4833,24 +4837,26 @@ command_init ()
N_("list"
" || set <plugin> <level>"
" || dump [<plugin>]"
- " || buffer|color|memory|term|windows"),
- N_(" list: list plugins with debug levels\n"
- " set: set debug level for plugin\n"
- " plugin: name of plugin (\"core\" for WeeChat core)\n"
- " level: debug level for plugin (0 = disable debug)\n"
- " dump: save memory dump in WeeChat log file (same "
+ " || buffer|color|infolists|memory|term|windows"),
+ N_(" list: list plugins with debug levels\n"
+ " set: set debug level for plugin\n"
+ " plugin: name of plugin (\"core\" for WeeChat core)\n"
+ " level: debug level for plugin (0 = disable debug)\n"
+ " dump: save memory dump in WeeChat log file (same "
"dump is written when WeeChat crashes)\n"
- " buffer: dump buffer content with hexadecimal values "
+ " buffer: dump buffer content with hexadecimal values "
"in log file\n"
- " color: display infos about current color pairs\n"
- " memory: display infos about memory usage\n"
- " term: display infos about terminal\n"
- "windows: display windows tree"),
+ " color: display infos about current color pairs\n"
+ "infolists: display infos about infolists\n"
+ " memory: display infos about memory usage\n"
+ " term: display infos about terminal\n"
+ " windows: display windows tree"),
"list"
" || set %(plugins_names)|core"
" || dump %(plugins_names)|core"
" || buffer"
" || color"
+ " || infolists"
" || memory"
" || term"
" || windows",