]> git.gsnw.org Git - fping.git/commitdiff
optparse_long for json changed to OPTPARSE_NONE
authorGerman Service Network <support@gsnw.de>
Wed, 30 Apr 2025 17:28:42 +0000 (19:28 +0200)
committerSebastian <176771227+gsnw-sebast@users.noreply.github.com>
Sat, 12 Jul 2025 05:43:18 +0000 (07:43 +0200)
src/fping.c

index 47f743e318cc85159634dabde27ab5a1287a54cf..a06f9f054815151644961fcd04a6eea3b9998aa9 100644 (file)
@@ -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 },