getopt work

SCCS-file: zdump.c
SCCS-SID: 7.25
This commit is contained in:
Arthur David Olson
2012-07-18 03:02:26 -04:00
committed by Paul Eggert
parent a741b19b7f
commit 204def75bd
+1 -1
View File
@@ -159,7 +159,7 @@ char * argv[];
if (c == 'v')
vflag = 1;
else cutoff = optarg;
if (c != EOF ||
if ((c != EOF && c != -1) ||
(optind == argc - 1 && strcmp(argv[optind], "=") == 0)) {
(void) fprintf(stderr,
_("%s: usage is %s [ -v ] [ -c cutoff ] zonename ...\n"),