From d8f4fe424f543f3083d5990040a3739a40369778 Mon Sep 17 00:00:00 2001 From: Liam Waldron Date: Mon, 24 Apr 2023 11:26:35 -0400 Subject: [PATCH] fixed printing argv[0] --- src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.c b/src/main.c index 6814213..c135d27 100644 --- a/src/main.c +++ b/src/main.c @@ -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; } }