summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2001-12-11 11:39:52 +0000
committerBruno Haible <bruno@clisp.org>2009-06-21 23:40:09 +0200
commit163f9651146a0cc1c7c23b24b04ac95f7af98970 (patch)
tree7a4f91c89007a06bbaa79a8d3b92e57e799a3de2
parent5b244f23a7b6de189944694caabed555c26fa486 (diff)
downloadexternal_gettext-163f9651146a0cc1c7c23b24b04ac95f7af98970.zip
external_gettext-163f9651146a0cc1c7c23b24b04ac95f7af98970.tar.gz
external_gettext-163f9651146a0cc1c7c23b24b04ac95f7af98970.tar.bz2
Recognize the -i option correctly.
-rw-r--r--src/ChangeLog4
-rw-r--r--src/msgfilter.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 3847f66..a76acc6 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,9 @@
2001-12-08 Bruno Haible <bruno@clisp.org>
+ * msgfilter.c (main): Fix getopt_long string: -i takes an argument.
+
+2001-12-08 Bruno Haible <bruno@clisp.org>
+
* xgettext.c (remember_a_message): Don't print the line number if it
is = (size_t)(-1).
diff --git a/src/msgfilter.c b/src/msgfilter.c
index 4fca57d..ea178e7 100644
--- a/src/msgfilter.c
+++ b/src/msgfilter.c
@@ -165,7 +165,7 @@ main (argc, argv)
/* The '+' in the options string causes option parsing to terminate when
the first non-option, i.e. the subprogram name, is encountered. */
- while ((opt = getopt_long (argc, argv, "+D:EFhio:sVw:", long_options, NULL))
+ while ((opt = getopt_long (argc, argv, "+D:EFhi:o:sVw:", long_options, NULL))
!= EOF)
switch (opt)
{