From: Steven Noonan Date: Sun, 1 Apr 2018 06:43:41 +0000 (-0700) Subject: main: add missing getopt_long specification for -z debug argument X-Git-Url: https://git.gsnw.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e21b68f62e9b8cd9ba105e4c7c0a24710af6e07b;p=fping.git main: add missing getopt_long specification for -z debug argument Signed-off-by: Steven Noonan --- diff --git a/src/fping.c b/src/fping.c index a6fd668..7905c58 100644 --- a/src/fping.c +++ b/src/fping.c @@ -437,6 +437,9 @@ int main(int argc, char** argv) { "unreach", 'u', OPTPARSE_NONE }, { "version", 'v', OPTPARSE_NONE }, { "reachable", 'x', OPTPARSE_REQUIRED }, +#if defined(DEBUG) || defined(_DEBUG) + { NULL, 'z', OPTPARSE_REQUIRED }, +#endif { 0, 0, 0 } };