mirror of
https://github.com/ascii-boxes/boxes.git
synced 2025-02-24 05:21:10 +01:00
Updated error message format in getopt.c for win32 test case compatibility
This commit is contained in:
parent
c7c7329659
commit
f6c6a175b0
@ -814,7 +814,7 @@ _getopt_internal (argc, argv, optstring, longopts, longind, long_only)
|
||||
if (opterr)
|
||||
{
|
||||
/* 1003.2 specifies the format of this message. */
|
||||
fprintf (stderr, _("%s: option requires an argument -- %c\n"),
|
||||
fprintf (stderr, _("%s: option requires an argument -- '%c'\n"),
|
||||
argv[0], c);
|
||||
}
|
||||
optopt = c;
|
||||
@ -944,7 +944,7 @@ _getopt_internal (argc, argv, optstring, longopts, longind, long_only)
|
||||
{
|
||||
/* 1003.2 specifies the format of this message. */
|
||||
fprintf (stderr,
|
||||
_("%s: option requires an argument -- %c\n"),
|
||||
_("%s: option requires an argument -- '%c'\n"),
|
||||
argv[0], c);
|
||||
}
|
||||
optopt = c;
|
||||
|
Loading…
Reference in New Issue
Block a user