diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2021-04-08 15:14:53 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2021-04-08 15:14:53 +0200 |
commit | 1debd29b573f4d81eeba4d7f78f797c348b231ce (patch) | |
tree | f1b2538e94e74e2b7f1f1381b58ea11e92cff3fc /plugins/check_curl.c | |
parent | a6acea7941a2a5519ab49d13b5adf946a50b5ea5 (diff) | |
download | monitoring-plugins-1debd29b573f4d81eeba4d7f78f797c348b231ce.tar.gz |
check_curl: make -C obvious (from check_http, part 2)
Diffstat (limited to 'plugins/check_curl.c')
-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) 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"); +#ifdef LIBCURL_FEATURE_SSL + printf ("%s\n", _("In the first form, make an HTTP request.")); + printf ("%s\n\n", _("In the second form, connect to the server and check the TLS certificate.")); +#endif printf ("%s\n", _("WARNING: check_curl is experimental. Please use")); printf ("%s\n\n", _("check_http if you need a stable version.")); } |