fixed printing argv[0]
This commit is contained in:
parent
0037231745
commit
d8f4fe424f
@ -26,7 +26,7 @@ int main(int argc, char *argv[]) {
|
|||||||
break;
|
break;
|
||||||
case '?':
|
case '?':
|
||||||
printf("unknown option: %c\n", optopt);
|
printf("unknown option: %c\n", optopt);
|
||||||
printf("usage: %c -l -n DATE EVENT_NAME\n", argv[0]);
|
printf("usage: %s -l -n DATE EVENT_NAME\n", argv[0]);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user