main: add missing getopt_long specification for -z debug argument

Signed-off-by: Steven Noonan <steven@uplinklabs.net>
pull/136/head
Steven Noonan 7 years ago
parent 25e30da512
commit e21b68f62e
No known key found for this signature in database
GPG Key ID: 408EEB508ED0CD4D

@ -437,6 +437,9 @@ int main(int argc, char** argv)
{ "unreach", 'u', OPTPARSE_NONE }, { "unreach", 'u', OPTPARSE_NONE },
{ "version", 'v', OPTPARSE_NONE }, { "version", 'v', OPTPARSE_NONE },
{ "reachable", 'x', OPTPARSE_REQUIRED }, { "reachable", 'x', OPTPARSE_REQUIRED },
#if defined(DEBUG) || defined(_DEBUG)
{ NULL, 'z', OPTPARSE_REQUIRED },
#endif
{ 0, 0, 0 } { 0, 0, 0 }
}; };

Loading…
Cancel
Save