From 57ff135a842dacdd076d0bc729980b2990008ccb Mon Sep 17 00:00:00 2001 From: Karl DeBisschop Date: Thu, 13 Mar 2003 05:29:56 +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/branches/release-1.3.0@414 f882894a-f735-0410-b71e-b25c423dba1c --- plugins/negate.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins') diff --git a/plugins/negate.c b/plugins/negate.c index 1603342b..0b0018f2 100644 --- a/plugins/negate.c +++ b/plugins/negate.c @@ -234,10 +234,10 @@ process_arguments (int argc, char **argv) while (1) { #ifdef HAVE_GETOPT_H - c = getopt_long (argc, argv, "hVt:", + c = getopt_long (argc, argv, "+hVt:", long_options, &option_index); #else - c = getopt (argc, argv, "hVt:"); + c = getopt (argc, argv, "+hVt:"); #endif if (c == -1 || c == EOF) break; -- cgit v1.2.3-74-g34f1