diff --git a/docs/help/in/echo.in b/docs/help/in/echo.in index 4ff23730..7f080189 100644 --- a/docs/help/in/echo.in +++ b/docs/help/in/echo.in @@ -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 diff --git a/src/fe-common/core/fe-core-commands.c b/src/fe-common/core/fe-core-commands.c index b223db05..00c07af6 100644 --- a/src/fe-common/core/fe-core-commands.c +++ b/src/fe-common/core/fe-core-commands.c @@ -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 ] [-level ] */ +/* SYNTAX: ECHO [-window ] [-level ] */ 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)