[monitoring-plugins] check_curl: make -C obvious (from check_http)
Jan Wagner
git at monitoring-plugins.org
Sat Apr 10 13:50:12 CEST 2021
Module: monitoring-plugins
Branch: wip-2.3.1
Commit: 7a8a089723819777f70ae4c0fd7db7bc3ad34416
Author: Andreas Baumann <mail at andreasbaumann.cc>
Committer: Jan Wagner <waja at cyconet.org>
Date: Thu Apr 8 14:15:54 2021 +0200
URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=7a8a089
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