logo

utils-std

Collection of commonly available Unix tools
commit: b9383ca5a8a261c234d43c81d7e2f1366568a63d
parent 49f92b27a3b534c831586fcd29f8bb73dd32fd8c
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Sun, 28 Jul 2024 05:36:28 +0200

cmd/install: no opts on non-long getopt

Diffstat:

Mcmd/install.c2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cmd/install.c b/cmd/install.c @@ -227,7 +227,7 @@ main(int argc, char *argv[]) // Need + as first character to get POSIX-style option parsing while((c = getopt_long(argc, argv, "+:CcDdpTt:g:m:o:", opts, NULL)) != -1) #else - while((c = getopt(argc, argv, ":CcDdpTt:g:m:o:", opts, NULL)) != -1) + while((c = getopt(argc, argv, ":CcDdpTt:g:m:o:")) != -1) #endif { switch(c)