mirror of
https://github.com/weechat/weechat.git
synced 2026-06-27 21:36:37 +02:00
Add description of infos and infolists for commands /demo_info and /demo_infolist
This commit is contained in:
@@ -301,8 +301,9 @@ demo_info_command_cb (void *data, struct t_gui_buffer *buffer, int argc,
|
||||
while (weechat_infolist_next (infolist))
|
||||
{
|
||||
weechat_printf (NULL,
|
||||
" %s",
|
||||
weechat_infolist_string (infolist, "info_name"));
|
||||
" %s: %s",
|
||||
weechat_infolist_string (infolist, "info_name"),
|
||||
weechat_gettext (weechat_infolist_string (infolist, "description")));
|
||||
}
|
||||
weechat_infolist_free (infolist);
|
||||
}
|
||||
@@ -345,8 +346,9 @@ demo_infolist_command_cb (void *data, struct t_gui_buffer *buffer, int argc,
|
||||
while (weechat_infolist_next (infolist))
|
||||
{
|
||||
weechat_printf (NULL,
|
||||
" %s",
|
||||
weechat_infolist_string (infolist, "infolist_name"));
|
||||
" %s: %s",
|
||||
weechat_infolist_string (infolist, "infolist_name"),
|
||||
weechat_gettext (weechat_infolist_string (infolist, "description")));
|
||||
}
|
||||
weechat_infolist_free (infolist);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user