summaryrefslogtreecommitdiffstats
path: root/plugins/check_curl.c
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2017-03-17 15:10:20 (GMT)
committerSven Nierlein <sven@nierlein.de>2018-10-22 14:28:51 (GMT)
commitec8de89a4471e8482e284ec9728032ee2dab9228 (patch)
tree7f29cb5b7f67ee0c6808aabdfd4c45f8e70b923a /plugins/check_curl.c
parent4dc982097e39d4067dbd0b2c1a5c66e9538f021d (diff)
downloadmonitoring-plugins-ec8de89a4471e8482e284ec9728032ee2dab9228.tar.gz
added usage and help for -E/--extended-perfdata
Diffstat (limited to 'plugins/check_curl.c')
-rw-r--r--plugins/check_curl.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/check_curl.c b/plugins/check_curl.c
index 8eac051..6b33d1c 100644
--- a/plugins/check_curl.c
+++ b/plugins/check_curl.c
@@ -837,6 +837,8 @@ print_help (void)
837 printf (" %s\n", _("String to be sent in http header as \"User Agent\"")); 837 printf (" %s\n", _("String to be sent in http header as \"User Agent\""));
838 printf (" %s\n", "-k, --header=STRING"); 838 printf (" %s\n", "-k, --header=STRING");
839 printf (" %s\n", _("Any other tags to be sent in http header. Use multiple times for additional headers")); 839 printf (" %s\n", _("Any other tags to be sent in http header. Use multiple times for additional headers"));
840 printf (" %s\n", "-E, --extended-perfdata");
841 printf (" %s\n", _("Print additional performance data"));
840 printf (" %s\n", "-f, --onredirect=<ok|warning|critical|follow>"); 842 printf (" %s\n", "-f, --onredirect=<ok|warning|critical|follow>");
841 printf (" %s\n", _("How to handle redirected pages.")); 843 printf (" %s\n", _("How to handle redirected pages."));
842 844
@@ -905,7 +907,7 @@ print_usage (void)
905 printf ("%s\n", _("Usage:")); 907 printf ("%s\n", _("Usage:"));
906 printf (" %s -H <vhost> | -I <IP-address> [-u <uri>] [-p <port>]\n",progname); 908 printf (" %s -H <vhost> | -I <IP-address> [-u <uri>] [-p <port>]\n",progname);
907 printf (" [-J <client certificate file>] [-K <private key>] [--ca-cert <CA certificate file>]\n"); 909 printf (" [-J <client certificate file>] [-K <private key>] [--ca-cert <CA certificate file>]\n");
908 printf (" [-w <warn time>] [-c <critical time>] [-t <timeout>] [-a auth]\n"); 910 printf (" [-w <warn time>] [-c <critical time>] [-t <timeout>] [-E] [-a auth]\n");
909 printf (" [-f <ok|warning|critcal|follow>]\n"); 911 printf (" [-f <ok|warning|critcal|follow>]\n");
910 printf (" [-s string] [-r <regex>\n"); 912 printf (" [-s string] [-r <regex>\n");
911 printf (" [-A string] [-k string] [-S <version>] [-C]\n"); 913 printf (" [-A string] [-k string] [-S <version>] [-C]\n");