[monitoring-plugins] forgot declaration of INVERT_REGEX in getopt ...

Sven Nierlein git at monitoring-plugins.org
Wed Mar 15 09:20:13 CET 2017


    Module: monitoring-plugins
    Branch: feature_check_curl
    Commit: 2f630e92c481912de2817b3440c24b6cb00de58a
    Author: Andreas Baumann <mail at andreasbaumann.cc>
 Committer: Sven Nierlein <sven at nierlein.de>
      Date: Sun Jan 22 10:07:20 2017 +0100
       URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=2f630e9

forgot declaration of INVERT_REGEX in getopt otions

---

 plugins/check_curl.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/plugins/check_curl.c b/plugins/check_curl.c
index cd77be3..1b9064e 100644
--- a/plugins/check_curl.c
+++ b/plugins/check_curl.c
@@ -430,6 +430,7 @@ process_arguments (int argc, char **argv)
     {"private-key", required_argument, 0, 'K'},
     {"ca-cert", required_argument, 0, CA_CERT_OPTION},
     {"useragent", required_argument, 0, 'A'},
+    {"invert-regex", no_argument, NULL, INVERT_REGEX},
     {"certificate", required_argument, 0, 'C'},
     {0, 0, 0, 0}
   };



More information about the Commits mailing list