diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2021-04-08 15:14:53 +0200 |
---|---|---|
committer | Jan Wagner <waja@cyconet.org> | 2021-04-10 13:43:12 +0200 |
commit | 14be220fceee94e2432fbda84c94a01ca3fa462f (patch) | |
tree | 3fbc0a754195eec2a33c29cd09553deb63ac4225 | |
parent | 7a8a089723819777f70ae4c0fd7db7bc3ad34416 (diff) | |
download | monitoring-plugins-14be220.tar.gz |
check_curl: make -C obvious (from check_http, part 2)
-rw-r--r-- | plugins/check_curl.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/check_curl.c b/plugins/check_curl.c index 892300ae..8fc97f40 100644 --- a/plugins/check_curl.c +++ b/plugins/check_curl.c | |||
@@ -1858,6 +1858,10 @@ print_usage (void) | |||
1858 | printf (" %s -H <vhost> | -I <IP-address> -C <warn_age>[,<crit_age>]\n",progname); | 1858 | printf (" %s -H <vhost> | -I <IP-address> -C <warn_age>[,<crit_age>]\n",progname); |
1859 | printf (" [-p <port>] [-t <timeout>] [-4|-6] [--sni]\n"); | 1859 | printf (" [-p <port>] [-t <timeout>] [-4|-6] [--sni]\n"); |
1860 | printf ("\n"); | 1860 | printf ("\n"); |
1861 | #ifdef LIBCURL_FEATURE_SSL | ||
1862 | printf ("%s\n", _("In the first form, make an HTTP request.")); | ||
1863 | printf ("%s\n\n", _("In the second form, connect to the server and check the TLS certificate.")); | ||
1864 | #endif | ||
1861 | printf ("%s\n", _("WARNING: check_curl is experimental. Please use")); | 1865 | printf ("%s\n", _("WARNING: check_curl is experimental. Please use")); |
1862 | printf ("%s\n\n", _("check_http if you need a stable version.")); | 1866 | printf ("%s\n\n", _("check_http if you need a stable version.")); |
1863 | } | 1867 | } |