mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
Merge pull request #1024 from vague666/update_cmd_echo
Remove unused parameter to /ECHO
This commit is contained in:
commit
791071f6e4
@ -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
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user