diff options
-rw-r--r-- | src/ChangeLog | 4 | ||||
-rw-r--r-- | src/msgfilter.c | 2 |
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) { |