a
This commit is contained in:
parent
df97708b38
commit
46f0a63b98
@ -10,7 +10,7 @@ int main(int argc, char *argv[]) {
|
||||
while ((opt = getopt(argc, argv, ":if:nl")) != -1) {
|
||||
switch(opt) {
|
||||
case 'n':
|
||||
mkevent();
|
||||
mkevent(argc, argv);
|
||||
break;
|
||||
case 'l':
|
||||
printevents();
|
||||
@ -22,9 +22,5 @@ int main(int argc, char *argv[]) {
|
||||
}
|
||||
}
|
||||
|
||||
for (; optind < argc; optind++) {
|
||||
printf("extra arguments: %s\n", argv[optind]);
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user