[monitoring-plugins] check_curl: make -C obvious (from check_http)

Andreas Baumann git at monitoring-plugins.org
Thu Apr 8 14:20:10 CEST 2021


 Module: monitoring-plugins
 Branch: feature_check_curl
 Commit: a6acea7941a2a5519ab49d13b5adf946a50b5ea5
 Author: Andreas Baumann <mail at andreasbaumann.cc>
   Date: Thu Apr  8 14:15:54 2021 +0200
    URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=a6acea7

check_curl: make -C obvious (from check_http)

---

 plugins/check_curl.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/plugins/check_curl.c b/plugins/check_curl.c
index f900f16..892300a 100644
--- a/plugins/check_curl.c
+++ b/plugins/check_curl.c
@@ -1852,9 +1852,11 @@ print_usage (void)
   printf ("       [-b proxy_auth] [-f <ok|warning|critcal|follow|sticky|stickyport|curl>]\n");
   printf ("       [-e <expect>] [-d string] [-s string] [-l] [-r <regex> | -R <case-insensitive regex>]\n");
   printf ("       [-P string] [-m <min_pg_size>:<max_pg_size>] [-4|-6] [-N] [-M <age>]\n");
-  printf ("       [-A string] [-k string] [-S <version>] [--sni] [-C <warn_age>[,<crit_age>]]\n");
+  printf ("       [-A string] [-k string] [-S <version>] [--sni]\n");
   printf ("       [-T <content-type>] [-j method]\n");
   printf ("       [--http-version=<version>]\n");
+  printf (" %s -H <vhost> | -I <IP-address> -C <warn_age>[,<crit_age>]\n",progname);
+  printf ("       [-p <port>] [-t <timeout>] [-4|-6] [--sni]\n");
   printf ("\n");
   printf ("%s\n", _("WARNING: check_curl is experimental. Please use"));
   printf ("%s\n\n", _("check_http if you need a stable version."));



More information about the Commits mailing list