summary refs log tree commit diff
diff options
context:
space:
mode:
authorNakidai <nakidai@disroot.org>2024-09-29 15:09:56 +0300
committerNakidai <nakidai@disroot.org>2024-09-29 15:09:56 +0300
commitfa3f3d73f1c13317741086f815af71465c04aaf7 (patch)
tree0c07a3decdfa50b2efc0814505d3ef68b26b12c3
parent3b28a7b64ac016a4be65a3eb01347b207b114ebf (diff)
downloadcptc-81b8b6e566340fc7e417794c5863389cb07253ba.tar.gz
cptc-81b8b6e566340fc7e417794c5863389cb07253ba.zip
Nothing can fix my stupidness v1.1.1
--help does not require an argument
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
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}