From fa3f3d73f1c13317741086f815af71465c04aaf7 Mon Sep 17 00:00:00 2001 From: Nakidai Date: Sun, 29 Sep 2024 15:09:56 +0300 Subject: Nothing can fix my stupidness --help does not require an argument --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main.c') diff --git a/main.c b/main.c index fd97a66..4785b93 100644 --- a/main.c +++ b/main.c @@ -17,7 +17,7 @@ const char *CPTC_token; static struct option long_options[] = { - {"help", 1, NULL, 'h'}, + {"help", 0, NULL, 'h'}, {"host", 1, NULL, 'i'}, {"port", 1, NULL, 'p'}, {0} -- cgit 1.4.1