From dd5a97c72e6e9d72ba8f0925725bb4c08279592d Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Mon, 11 Mar 2024 09:53:59 -0400 Subject: Make opt_short long enough to fix ARG output --- src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main.c') diff --git a/src/main.c b/src/main.c index 25e3a55..3c9b868 100644 --- a/src/main.c +++ b/src/main.c @@ -100,7 +100,7 @@ static void usage(char *progname) { char tmp[OMC_NAME_MAX] = {0}; char output[sizeof(tmp)] = {0}; char opt_long[50] = {0}; // --? [ARG]? - char opt_short[3] = {0}; // -? + char opt_short[50] = {0}; // -? [ARG]? strcat(opt_long, "--"); strcat(opt_long, long_options[x].name); -- cgit