[monitoring-plugins] added help for --invert-regex

Andreas Baumann git at monitoring-plugins.org
Fri Mar 17 16:50:12 CET 2017


 Module: monitoring-plugins
 Branch: feature_check_curl
 Commit: 3ae5ab7fab8d79d2edc8b10d50bfe82551483624
 Author: Andreas Baumann <mail at andreasbaumann.cc>
   Date: Fri Mar 17 16:46:36 2017 +0100
    URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=3ae5ab7

added help for --invert-regex

---

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

diff --git a/plugins/check_curl.c b/plugins/check_curl.c
index 537268c..0770d90 100644
--- a/plugins/check_curl.c
+++ b/plugins/check_curl.c
@@ -847,6 +847,8 @@ print_help (void)
   printf ("    %s\n", _("Search page for regex STRING"));
   printf (" %s\n", "-R, --eregi=STRING");
   printf ("    %s\n", _("Search page for case-insensitive regex STRING"));
+  printf (" %s\n", "--invert-regex");
+  printf ("    %s\n", _("Return CRITICAL if found, OK if not\n"));
   printf (" %s\n", "-a, --authorization=AUTH_PAIR");
   printf ("    %s\n", _("Username:password on sites with basic authentication"));
   printf (" %s\n", "-A, --useragent=STRING");



More information about the Commits mailing list