From 85b5bacfe3d7343cb8695b8d7b0467732d8b8d53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Fri, 15 Sep 2023 08:43:37 +0200 Subject: script: rename parameters up/down/go to -up/-down/-go in command `/script` --- src/plugins/script/script-command.c | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'src/plugins/script/script-command.c') diff --git a/src/plugins/script/script-command.c b/src/plugins/script/script-command.c index 80a81c293..96ef216f1 100644 --- a/src/plugins/script/script-command.c +++ b/src/plugins/script/script-command.c @@ -202,7 +202,7 @@ script_command_script (const void *pointer, void *data, return WEECHAT_RC_OK; } - if (weechat_strcmp (argv[1], "go") == 0) + if (weechat_strcmp (argv[1], "-go") == 0) { if ((argc > 2) && script_buffer && !script_buffer_detail_script) { @@ -227,7 +227,7 @@ script_command_script (const void *pointer, void *data, return WEECHAT_RC_OK; } - if (weechat_strcmp (argv[1], "up") == 0) + if (weechat_strcmp (argv[1], "-up") == 0) { if (script_buffer) { @@ -261,7 +261,7 @@ script_command_script (const void *pointer, void *data, return WEECHAT_RC_OK; } - if (weechat_strcmp (argv[1], "down") == 0) + if (weechat_strcmp (argv[1], "-down") == 0) { if (script_buffer) { @@ -317,8 +317,8 @@ script_command_init () " || install|remove|installremove|hold [-q]