1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00

Remove unused parameter to /ECHO

This commit is contained in:
vague666 2019-03-22 13:11:35 +01:00
parent 26d96a7bb2
commit 8479ff7a2e
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)