From ba477f3df87749e51a1ea9d7f5038755ae8201cb Mon Sep 17 00:00:00 2001 From: Karl DeBisschop Date: Thu, 13 Mar 2003 06:00:21 +0000 Subject: negate must be POSIXly correct in handling options, else wrapped options get passed to it git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@416 f882894a-f735-0410-b71e-b25c423dba1c diff --git a/plugins/negate.c b/plugins/negate.c index 3e4c493..c1c0bc5 100644 --- a/plugins/negate.c +++ b/plugins/negate.c @@ -226,7 +226,7 @@ process_arguments (int argc, char **argv) }; while (1) { - c = getopt_long (argc, argv, "hVt:", + c = getopt_long (argc, argv, "+hVt:", long_options, &option_index); if (c == -1 || c == EOF) -- cgit v0.10-9-g596f