1
0
mirror of https://github.com/irssi/irssi.git synced 2024-06-23 06:35:36 +00:00

Merge pull request #1024 from vague666/update_cmd_echo

Remove unused parameter to /ECHO
This commit is contained in:
ailin-nemui 2019-04-05 15:58:22 +02:00 committed by GitHub
commit 791071f6e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 4 deletions

View File

@ -5,7 +5,6 @@
%9Parameters:%9
-current: Displays the output in the active window.
-window: Displays the output in the target window.
-level: Displays the output with a given message level.
@ -18,7 +17,7 @@
%9Examples:%9
/ECHO 1 + 1 = 2 :D
/ECHO -current Testing the ECHO command
/ECHO Testing the ECHO command
/ECHO -window #irssi Special variables such as ${N} will not be expanded.
%9See also:%9 CAT, EVAL, EXEC, LEVELS

View File

@ -68,7 +68,7 @@ static const char *current_cmdline;
static GTimeVal time_command_last, time_command_now;
static int last_command_cmd, command_cmd;
/* SYNTAX: ECHO [-current] [-window <name>] [-level <level>] <text> */
/* SYNTAX: ECHO [-window <name>] [-level <level>] <text> */
static void cmd_echo(const char *data, void *server, WI_ITEM_REC *item)
{
WINDOW_REC *window;
@ -343,7 +343,7 @@ void fe_core_commands_init(void)
signal_add("error command", (SIGNAL_FUNC) event_cmderror);
signal_add("list subcommands", (SIGNAL_FUNC) event_list_subcommands);
command_set_options("echo", "current +level +window");
command_set_options("echo", "+level +window");
}
void fe_core_commands_deinit(void)