diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-03-11 09:53:59 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-03-11 09:53:59 -0400 |
commit | dd5a97c72e6e9d72ba8f0925725bb4c08279592d (patch) | |
tree | 27bf33b84ef26e5c08c1337466a3d85962f798d3 | |
parent | 0fc92c6f01cd383bb872dea8733c849cdb06e53f (diff) | |
download | stasis-dd5a97c72e6e9d72ba8f0925725bb4c08279592d.tar.gz |
Make opt_short long enough to fix ARG output
-rw-r--r-- | src/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |