mirror of
https://https.git.savannah.gnu.org/git/gettext.git
synced 2026-01-27 01:44:30 +00:00
msgconv, msgen, msgfilter, msggrep, msgmerge: The option '-n' takes no argument.
This was a regression from 2014-03-24. * gettext-tools/src/msgconv.c (main): Change "n:" to "n" in getopt_long argument. * gettext-tools/src/msgen.c (main): Likewise. * gettext-tools/src/msgfilter.c (main): Likewise. * gettext-tools/src/msggrep.c (main): Likewise. * gettext-tools/src/msgmerge.c (main): Likewise.
This commit is contained in:
parent
b719e5bfd2
commit
8caa0b51ba
@ -130,7 +130,7 @@ main (int argc, char **argv)
|
||||
output_file = NULL;
|
||||
input_file = NULL;
|
||||
|
||||
while ((opt = getopt_long (argc, argv, "D:eEFhin:o:pPst:Vw:", long_options,
|
||||
while ((opt = getopt_long (argc, argv, "D:eEFhino:pPst:Vw:", long_options,
|
||||
NULL))
|
||||
!= EOF)
|
||||
switch (opt)
|
||||
|
||||
@ -132,7 +132,7 @@ main (int argc, char **argv)
|
||||
output_file = NULL;
|
||||
|
||||
while ((opt = getopt_long (argc, argv,
|
||||
"D:eEFhin:o:pPsVw:",
|
||||
"D:eEFhino:pPsVw:",
|
||||
long_options, NULL)) != EOF)
|
||||
switch (opt)
|
||||
{
|
||||
|
||||
@ -166,7 +166,7 @@ main (int argc, char **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:EFhi:n:o:pPsVw:", long_options,
|
||||
while ((opt = getopt_long (argc, argv, "+D:EFhi:no:pPsVw:", long_options,
|
||||
NULL))
|
||||
!= EOF)
|
||||
switch (opt)
|
||||
|
||||
@ -191,7 +191,7 @@ main (int argc, char **argv)
|
||||
gt->case_insensitive = false;
|
||||
}
|
||||
|
||||
while ((opt = getopt_long (argc, argv, "CD:e:Ef:FhiJKM:n:N:o:pPTvVw:X",
|
||||
while ((opt = getopt_long (argc, argv, "CD:e:Ef:FhiJKM:nN:o:pPTvVw:X",
|
||||
long_options, NULL))
|
||||
!= EOF)
|
||||
switch (opt)
|
||||
|
||||
@ -218,7 +218,7 @@ main (int argc, char **argv)
|
||||
output_file = NULL;
|
||||
color = NULL;
|
||||
|
||||
while ((opt = getopt_long (argc, argv, "C:D:eEFhimn:No:pPqsUvVw:",
|
||||
while ((opt = getopt_long (argc, argv, "C:D:eEFhimnNo:pPqsUvVw:",
|
||||
long_options, NULL))
|
||||
!= EOF)
|
||||
switch (opt)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user