forked from PsychoticNinja/irssi
Remove unused parameter to /ECHO
This commit is contained in:
parent
26d96a7bb2
commit
8479ff7a2e
@ -5,7 +5,6 @@
|
|||||||
|
|
||||||
%9Parameters:%9
|
%9Parameters:%9
|
||||||
|
|
||||||
-current: Displays the output in the active window.
|
|
||||||
-window: Displays the output in the target window.
|
-window: Displays the output in the target window.
|
||||||
-level: Displays the output with a given message level.
|
-level: Displays the output with a given message level.
|
||||||
|
|
||||||
@ -18,7 +17,7 @@
|
|||||||
%9Examples:%9
|
%9Examples:%9
|
||||||
|
|
||||||
/ECHO 1 + 1 = 2 :D
|
/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.
|
/ECHO -window #irssi Special variables such as ${N} will not be expanded.
|
||||||
|
|
||||||
%9See also:%9 CAT, EVAL, EXEC, LEVELS
|
%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 GTimeVal time_command_last, time_command_now;
|
||||||
static int last_command_cmd, command_cmd;
|
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)
|
static void cmd_echo(const char *data, void *server, WI_ITEM_REC *item)
|
||||||
{
|
{
|
||||||
WINDOW_REC *window;
|
WINDOW_REC *window;
|
||||||
@ -343,7 +343,7 @@ void fe_core_commands_init(void)
|
|||||||
signal_add("error command", (SIGNAL_FUNC) event_cmderror);
|
signal_add("error command", (SIGNAL_FUNC) event_cmderror);
|
||||||
signal_add("list subcommands", (SIGNAL_FUNC) event_list_subcommands);
|
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)
|
void fe_core_commands_deinit(void)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user