Merge pull request #3180 from jcrd/fix-getopt-2

Make 's' getopt flag take an argument
This commit is contained in:
mergify[bot] 2020-09-17 17:22:11 +00:00 committed by GitHub
commit d06069e5dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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; char *confpath = NULL;
int opt; int opt;
while((opt = getopt_long(argc, argv, "vhfkc:armsl:", while((opt = getopt_long(argc, argv, "vhfkc:arms:l:",
long_options, NULL)) != -1) { long_options, NULL)) != -1) {
switch(opt) switch(opt)
{ {