From af7a6de1dc8c117e219318441bf1dee1d2f89158 Mon Sep 17 00:00:00 2001 From: James Reed Date: Thu, 17 Sep 2020 03:27:35 -0600 Subject: [PATCH] Make 's' getopt flag take an argument --- options.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/options.c b/options.c index 0300f657..df09ca8d 100644 --- a/options.c +++ b/options.c @@ -423,7 +423,7 @@ options_check_args(int argc, char **argv, int *init_flags, string_array_t *paths char *confpath = NULL; int opt; - while((opt = getopt_long(argc, argv, "vhfkc:armsl:", + while((opt = getopt_long(argc, argv, "vhfkc:arms:l:", long_options, NULL)) != -1) { switch(opt) {