bulk changes

This commit is contained in:
2025-07-18 20:05:28 -04:00
parent 50e964d3a0
commit 1e08c7e33b
9 changed files with 196 additions and 83 deletions

View File

@@ -12,7 +12,7 @@ parse_standard_options (void (*usage) (int), int argc, char **argv)
if (strcmp (argv[i], "--help") == 0)
{
usage (0);
exit (0);
exit (EXIT_SUCCESS);
}
else if (strcmp (argv[i], "--version") == 0)
{
@@ -20,8 +20,8 @@ parse_standard_options (void (*usage) (int), int argc, char **argv)
"you are free to change and redistribute it.\nThere is NO "
"WARRNTY, to the extent permitted by law.\n",
PROGRAM, VERSION, COMMIT, YEAR, AUTHORS, LICENSE_LINE);
exit (0);
exit (EXIT_SUCCESS);
}
}
return 1;
return HELP_REQUESTED;
}