fixed printing argv[0]

This commit is contained in:
Liam Waldron 2023-04-24 11:26:35 -04:00
parent 0037231745
commit d8f4fe424f

View File

@ -26,7 +26,7 @@ int main(int argc, char *argv[]) {
break;
case '?':
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;
}
}