From e792c23d5492a3f485a0b3f43a9808e1d43cee78 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Mon, 14 May 2001 15:35:43 +0000 Subject: /IGNORE: -word -> -full, like it's with /HILIGHT. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1495 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/fe-common/core/fe-ignore.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/fe-common/core') diff --git a/src/fe-common/core/fe-ignore.c b/src/fe-common/core/fe-ignore.c index c291e847..3523d527 100644 --- a/src/fe-common/core/fe-ignore.c +++ b/src/fe-common/core/fe-ignore.c @@ -55,7 +55,7 @@ static void ignore_print(int index, IGNORE_REC *rec) options = g_string_new(NULL); if (rec->exception) g_string_sprintfa(options, "-except "); if (rec->regexp) g_string_sprintfa(options, "-regexp "); - if (rec->fullword) g_string_sprintfa(options, "-word "); + if (rec->fullword) g_string_sprintfa(options, "-full "); if (rec->replies) g_string_sprintfa(options, "-replies "); if (options->len > 1) g_string_truncate(options, options->len-1); @@ -83,9 +83,9 @@ static void cmd_ignore_show(void) printformat(NULL, NULL, MSGLEVEL_CLIENTCRAP, TXT_IGNORE_FOOTER); } -/* SYNTAX: IGNORE [-regexp | -word] [-pattern ] [-except] [-replies] +/* SYNTAX: IGNORE [-regexp | -full] [-pattern ] [-except] [-replies] [-channels ] [-time ] [] - IGNORE [-regexp | -word] [-pattern ] [-except] [-replies] + IGNORE [-regexp | -full] [-pattern ] [-except] [-replies] [-time ] [] */ static void cmd_ignore(const char *data) { @@ -138,7 +138,7 @@ static void cmd_ignore(const char *data) NULL : g_strdup(patternarg); rec->exception = g_hash_table_lookup(optlist, "except") != NULL; rec->regexp = g_hash_table_lookup(optlist, "regexp") != NULL; - rec->fullword = g_hash_table_lookup(optlist, "word") != NULL; + rec->fullword = g_hash_table_lookup(optlist, "full") != NULL; rec->replies = g_hash_table_lookup(optlist, "replies") != NULL; timestr = g_hash_table_lookup(optlist, "time"); if (timestr != NULL) @@ -221,7 +221,7 @@ void fe_ignore_init(void) signal_add("ignore created", (SIGNAL_FUNC) sig_ignore_created); signal_add("ignore changed", (SIGNAL_FUNC) sig_ignore_created); - command_set_options("ignore", "regexp word except replies -time -pattern -channels"); + command_set_options("ignore", "regexp full except replies -time -pattern -channels"); } void fe_ignore_deinit(void) -- cgit v1.2.3