summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2017-03-17 16:10:20 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2017-03-17 16:10:20 +0100
commit3b3b522b3c218b86c9d5e0da6a24c14e0484127b (patch)
treed289d598a348eb7a75d76153acf1bce5aaa99fa3
parentfe20e18045af937c0be013530ad97d428b3b7a00 (diff)
downloadmonitoring-plugins-3b3b522.tar.gz
added usage and help for -E/--extended-perfdata
-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 8eac051b..6b33d1ca 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");