From e21b68f62e9b8cd9ba105e4c7c0a24710af6e07b Mon Sep 17 00:00:00 2001 From: Steven Noonan Date: Sat, 31 Mar 2018 23:43:41 -0700 Subject: [PATCH] main: add missing getopt_long specification for -z debug argument Signed-off-by: Steven Noonan --- src/fping.c | 3 +++ 1 file changed, 3 insertions(+) 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 } }; -- 2.43.0