From: Jeremy Sowden Date: Wed, 4 Mar 2020 08:57:35 +0000 (+0000) Subject: main: remove duplicates from option string. X-Git-Tag: v0.9.4~26 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=79dd41f00c9ceb933c8abf6d3b44eeb87ba7aa63;p=thirdparty%2Fnftables.git main: remove duplicates from option string. The string of options passed to getopt_long(3) contains duplicates. Update it to match the opt_vals enum which immediately precedes it. Signed-off-by: Jeremy Sowden Signed-off-by: Pablo Neira Ayuso --- diff --git a/src/main.c b/src/main.c index fefa3186..81f30951 100644 --- a/src/main.c +++ b/src/main.c @@ -47,7 +47,7 @@ enum opt_vals { OPT_TERSE = 't', OPT_INVALID = '?', }; -#define OPTSTRING "+hvVd:cf:iI:jvnsNaeSupypTt" +#define OPTSTRING "+hvVcf:iI:jnsNSd:aeuypTt" static const struct option options[] = { {