ditto for invalid options

This commit is contained in:
Jim Meyering 2003-01-31 13:37:08 +00:00
parent 4bee27ae43
commit d85b93c0fb

View File

@ -665,12 +665,12 @@ main (int argc, char **argv)
case_GETOPT_VERSION_CHAR (PROGRAM_NAME, AUTHORS);
default:
usage (EXIT_FAILURE);
fail = 1;
}
}
if (fail)
exit (EXIT_FAILURE);
usage (EXIT_FAILURE);
if (opt_all && opt_summarize_only)
{