Code

negate must be POSIXly correct in handling options, else wrapped options get passed...
authorKarl DeBisschop <kdebisschop@users.sourceforge.net>
Thu, 13 Mar 2003 06:00:21 +0000 (06:00 +0000)
committerKarl DeBisschop <kdebisschop@users.sourceforge.net>
Thu, 13 Mar 2003 06:00:21 +0000 (06:00 +0000)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@416 f882894a-f735-0410-b71e-b25c423dba1c

plugins/negate.c

index 3e4c493ea6adc1fd749d555b17f0ac35e5ee45b3..c1c0bc57fd07ae71fb16cf11b26102dc7afd22df 100644 (file)
@@ -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)