From 0380d97c0f9550dd806487111938fe9d096518ca Mon Sep 17 00:00:00 2001 From: Intel A80486DX2-66 Date: Sun, 22 Sep 2024 12:55:05 +0300 Subject: [PATCH] main.c: CLI: usage: add help case --- src/main.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main.c b/src/main.c index 71df4b5..4b2577a 100644 --- a/src/main.c +++ b/src/main.c @@ -190,6 +190,8 @@ int main(int argc, char** argv) { char* program_name = my_basename(argv[0]); printf( "Usage: %s [parameters] [options]\n" + " OR\n" + " %s <-h | -help | --help>\n" "\n" "Both parameters and options are optional.\n" "\n" @@ -232,6 +234,7 @@ int main(int argc, char** argv) { "to keep it\n" " random, set the option to `random`.\n", program_name, + program_name, UINT16_MAX, probability, threshold,