From: Bruno Haible Date: Mon, 13 Oct 2003 09:59:01 +0000 (+0000) Subject: Remove --keyword-substring option. X-Git-Tag: v0.13~216 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9733052c5050ea2867881d11fb55004c1107f4b2;p=thirdparty%2Fgettext.git Remove --keyword-substring option. --- diff --git a/gettext-tools/src/ChangeLog b/gettext-tools/src/ChangeLog index b7bf53bc4..8eaa4f1c8 100644 --- a/gettext-tools/src/ChangeLog +++ b/gettext-tools/src/ChangeLog @@ -1,3 +1,9 @@ +2003-10-05 Bruno Haible + + * xgettext.c (substring_match): Remove variable. + (long_options): Remove --keyword-substring option. + (main): Remove handling of --keyword-substring option. + 2003-10-05 Bruno Haible * message.h (enum is_format): New item yes_according_to_context. diff --git a/gettext-tools/src/xgettext.c b/gettext-tools/src/xgettext.c index 47717e777..4174ebb6c 100644 --- a/gettext-tools/src/xgettext.c +++ b/gettext-tools/src/xgettext.c @@ -98,10 +98,6 @@ static bool add_all_comments = false; /* Tag used in comment of prevailing domain. */ static char *comment_tag; -/* Compare tokens with keywords using substring matching instead of - equality. */ -bool substring_match; - /* Name of default domain file. If not set defaults to messages.po. */ static const char *default_domain; @@ -191,7 +187,6 @@ static const struct option long_options[] = { "indent", no_argument, NULL, 'i' }, { "join-existing", no_argument, NULL, 'j' }, { "keyword", optional_argument, NULL, 'k' }, - { "keyword-substring", no_argument, NULL, 'K'}, { "language", required_argument, NULL, 'L' }, { "msgid-bugs-address", required_argument, NULL, CHAR_MAX + 5 }, { "msgstr-prefix", optional_argument, NULL, 'm' }, @@ -380,9 +375,6 @@ main (int argc, char *argv[]) x_glade_keyword (optarg); } break; - case 'K': - substring_match = true; - break; case 'l': /* Accepted for backward compatibility with 0.10.35. */ break;