summaryrefslogtreecommitdiff
path: root/doc/ja
diff options
context:
space:
mode:
Diffstat (limited to 'doc/ja')
-rw-r--r--doc/ja/weechat_plugin_api.ja.asciidoc12
1 files changed, 2 insertions, 10 deletions
diff --git a/doc/ja/weechat_plugin_api.ja.asciidoc b/doc/ja/weechat_plugin_api.ja.asciidoc
index 1ca0ec6e7..f7ec2fd44 100644
--- a/doc/ja/weechat_plugin_api.ja.asciidoc
+++ b/doc/ja/weechat_plugin_api.ja.asciidoc
@@ -7169,27 +7169,19 @@ my_command_cb (const void *pointer, void *data, struct t_gui_buffer *buffer,
/* this example is inspired by command /filter */
struct t_hook *my_command_hook =
- weechat_hook_command (/* command name */
- "myfilter",
- /* description */
+ weechat_hook_command ("myfilter",
"description of myfilter",
- /* args */
"[list] | [enable|disable|toggle [name]] | "
"[add name plugin.buffer tags regex] | "
"[del name|-all]",
- /* args description */
"description of arguments...",
- /* completion */
"list"
" || enable %(filters_names)"
" || disable %(filters_names)"
" || toggle %(filters_names)"
" || add %(filters_names) %(buffers_plugins_names)|*"
" || del %(filters_names)|-all",
- /* callback */
- &my_command_cb,
- /* callback_data */
- NULL, NULL);
+ &my_command_cb, NULL, NULL);
----
例えば、コマンドが `/command abc def ghi`