diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2009-04-11 14:49:34 +0200 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2009-04-11 14:49:34 +0200 |
commit | acb57723343d61cc287a260333c28d802d6ea70f (patch) | |
tree | 6d154d5b7b2e1fcdc3b0702e9a5693d342e710a6 /src/plugins/demo/demo.c | |
parent | 8ac00cdac6ba3a2caf9a7b282701e3bb22c988de (diff) | |
download | weechat-acb57723343d61cc287a260333c28d802d6ea70f.zip |
Add support of many templates for completion of command arguments, rename default completion items
Diffstat (limited to 'src/plugins/demo/demo.c')
-rw-r--r-- | src/plugins/demo/demo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/demo/demo.c b/src/plugins/demo/demo.c index 5158c1dde..112394c79 100644 --- a/src/plugins/demo/demo.c +++ b/src/plugins/demo/demo.c @@ -416,7 +416,7 @@ weechat_plugin_init (struct t_weechat_plugin *plugin, int argc, char *argv[]) "arguments: optional arguments for info\n\n" "Without argument, this command displays list " "of available infos"), - "%i", + "%(infos)", &demo_info_command_cb, NULL); weechat_hook_command ("demo_infolist", @@ -426,7 +426,7 @@ weechat_plugin_init (struct t_weechat_plugin *plugin, int argc, char *argv[]) "arguments: optional arguments for infolist\n\n" "Without argument, this command displays list " "of available infolists"), - "%I", + "%(infolists)", &demo_infolist_command_cb, NULL); weechat_hook_signal ("*", &demo_signal_cb, NULL); |