]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Remove --keyword-substring option.
authorBruno Haible <bruno@clisp.org>
Mon, 13 Oct 2003 09:59:01 +0000 (09:59 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:11:03 +0000 (12:11 +0200)
gettext-tools/src/ChangeLog
gettext-tools/src/xgettext.c

index b7bf53bc42b061ef5769d6e6718f7adb840ce006..8eaa4f1c82e20f5d16efa128f7e0388aaf6fbd7e 100644 (file)
@@ -1,3 +1,9 @@
+2003-10-05  Bruno Haible  <bruno@clisp.org>
+
+       * xgettext.c (substring_match): Remove variable.
+       (long_options): Remove --keyword-substring option.
+       (main): Remove handling of --keyword-substring option.
+
 2003-10-05  Bruno Haible  <bruno@clisp.org>
 
        * message.h (enum is_format): New item yes_according_to_context.
index 47717e7771b60b758ca7e3ed1a45493206fba674..4174ebb6c970eff63cb3514a7ec346f60b29d6a0 100644 (file)
@@ -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;