Add a default case to the getopt(3) switch, remove a blank line nearby.
This commit is contained in:
parent
bab6337218
commit
010b4b09f1
@ -200,7 +200,6 @@ main(int argc, char *argv[])
|
||||
|
||||
while ((c = getopt(argc, argv, "gst:d:D:U:o:I:")) != -1)
|
||||
switch(c) {
|
||||
|
||||
case 'D': /* define something..*/
|
||||
for (p = optarg; *p; p++)
|
||||
if (*p == '=')
|
||||
@ -231,6 +230,7 @@ main(int argc, char *argv[])
|
||||
trace_file(optarg);
|
||||
break;
|
||||
case '?':
|
||||
default:
|
||||
usage();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user