Make 's' getopt flag take an argument

This commit is contained in:
James Reed 2020-09-17 03:27:35 -06:00
parent 296a9de8b9
commit af7a6de1dc
No known key found for this signature in database
GPG Key ID: 0BE2BD33C5E8125E
1 changed files with 1 additions and 1 deletions

View File

@ -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)
{