Return 0 when printing help or version in the windres tool.

This commit is contained in:
2023-11-23 22:22:38 +01:00
committed by belliash
parent fe9d4f69ba
commit 5601842b2a
+2 -2
View File
@@ -87,7 +87,7 @@ static
void print_version(void)
{
printf("XTchain windres (GNU windres compatible) %s\n", WINDRES_VERSION);
exit(-1);
exit(0);
}
static
@@ -126,7 +126,7 @@ void print_help(void)
" pei-x86-64\n"
" pe-i386\n"
" pei-i386\n");
exit(1);
exit(0);
}
static