diff --git a/options.c b/options.c index 0300f657d..df09ca8de 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) {