[monitoring-plugins] added usage and help for -E/--extended-perfdata

Andreas Baumann git at monitoring-plugins.org
Fri Mar 17 16:20:13 CET 2017


 Module: monitoring-plugins
 Branch: feature_check_curl
 Commit: 3b3b522b3c218b86c9d5e0da6a24c14e0484127b
 Author: Andreas Baumann <mail at andreasbaumann.cc>
   Date: Fri Mar 17 16:10:20 2017 +0100
    URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=3b3b522

added usage and help for -E/--extended-perfdata

---

 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 8eac051..6b33d1c 100644
--- a/plugins/check_curl.c
+++ b/plugins/check_curl.c
@@ -837,6 +837,8 @@ print_help (void)
   printf ("    %s\n", _("String to be sent in http header as \"User Agent\""));
   printf (" %s\n", "-k, --header=STRING");
   printf ("    %s\n", _("Any other tags to be sent in http header. Use multiple times for additional headers"));
+  printf (" %s\n", "-E, --extended-perfdata");
+  printf ("    %s\n", _("Print additional performance data"));
   printf (" %s\n", "-f, --onredirect=<ok|warning|critical|follow>");
   printf ("    %s\n", _("How to handle redirected pages."));
 
@@ -905,7 +907,7 @@ print_usage (void)
   printf ("%s\n", _("Usage:"));
   printf (" %s -H <vhost> | -I <IP-address> [-u <uri>] [-p <port>]\n",progname);
   printf ("       [-J <client certificate file>] [-K <private key>] [--ca-cert <CA certificate file>]\n");
-  printf ("       [-w <warn time>] [-c <critical time>] [-t <timeout>] [-a auth]\n");
+  printf ("       [-w <warn time>] [-c <critical time>] [-t <timeout>] [-E] [-a auth]\n");
   printf ("       [-f <ok|warning|critcal|follow>]\n");
   printf ("       [-s string] [-r <regex>\n");
   printf ("       [-A string] [-k string] [-S <version>] [-C]\n");



More information about the Commits mailing list