mirror of
https://github.com/tio/tio.git
synced 2026-05-01 14:57:59 +02:00
Fix error message
This commit is contained in:
parent
ad9b93dc52
commit
c2aa3489fd
1 changed files with 3 additions and 1 deletions
|
|
@ -457,7 +457,9 @@ void options_parse(int argc, char *argv[])
|
|||
{
|
||||
fprintf(stderr, "Error: Unknown argument ");
|
||||
while (optind < argc)
|
||||
printf("%s ", argv[optind++]);
|
||||
{
|
||||
fprintf(stderr, "%s ", argv[optind++]);
|
||||
}
|
||||
fprintf(stderr, "\n");
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue