mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-23 11:18:54 +00:00
Add a default case to the getopt(3) switch, remove a blank line nearby.
This commit is contained in:
parent
bab6337218
commit
010b4b09f1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=99941
@ -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