From: German Service Network Date: Wed, 30 Apr 2025 17:28:42 +0000 (+0200) Subject: optparse_long for json changed to OPTPARSE_NONE X-Git-Url: https://git.gsnw.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fd49fbb51fe7851953b2745728f0ddb4f0818a88;p=fping.git optparse_long for json changed to OPTPARSE_NONE --- diff --git a/src/fping.c b/src/fping.c index 47f743e..a06f9f0 100644 --- a/src/fping.c +++ b/src/fping.c @@ -555,7 +555,7 @@ int main(int argc, char **argv) { "ttl", 'H', OPTPARSE_REQUIRED }, { "interval", 'i', OPTPARSE_REQUIRED }, { "iface", 'I', OPTPARSE_REQUIRED }, - { "json", 'J', OPTPARSE_OPTIONAL }, + { "json", 'J', OPTPARSE_NONE }, { "icmp-timestamp", '0', OPTPARSE_NONE }, #ifdef SO_MARK { "fwmark", 'k', OPTPARSE_REQUIRED },