summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2017-01-22 10:07:20 +0100
committerSven Nierlein <sven@nierlein.de>2018-10-22 16:28:51 +0200
commit83ae37dc7ea9a0527927339d378bad294a972011 (patch)
tree959a9d8b9989b82126b44589c706bd952eaf48ba
parentc9a94ffd44d01b70bed3b062167b9aaab4e41244 (diff)
downloadmonitoring-plugins-83ae37dc7ea9a0527927339d378bad294a972011.tar.gz
forgot declaration of INVERT_REGEX in getopt otions
-rw-r--r--plugins/check_curl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/check_curl.c b/plugins/check_curl.c
index cd77be33..1b9064eb 100644
--- a/plugins/check_curl.c
+++ b/plugins/check_curl.c
@@ -430,6 +430,7 @@ process_arguments (int argc, char **argv)
430 {"private-key", required_argument, 0, 'K'}, 430 {"private-key", required_argument, 0, 'K'},
431 {"ca-cert", required_argument, 0, CA_CERT_OPTION}, 431 {"ca-cert", required_argument, 0, CA_CERT_OPTION},
432 {"useragent", required_argument, 0, 'A'}, 432 {"useragent", required_argument, 0, 'A'},
433 {"invert-regex", no_argument, NULL, INVERT_REGEX},
433 {"certificate", required_argument, 0, 'C'}, 434 {"certificate", required_argument, 0, 'C'},
434 {0, 0, 0, 0} 435 {0, 0, 0, 0}
435 }; 436 };