[nagiosplug] check_http: Update description of -C option

Nagios Plugin Development nagios-plugins at users.sourceforge.net
Fri Aug 10 14:40:41 CEST 2012


 Module: nagiosplug
 Branch: master
 Commit: 4cdda35b6c6368683a27f0b89d3243b5278d8680
 Author: Holger Weiss <holger at zedat.fu-berlin.de>
   Date: Fri Aug 10 13:07:44 2012 +0200
    URL: http://nagiosplug.git.sf.net/git/gitweb.cgi?p=nagiosplug/nagiosplug;a=commit;h=4cdda35

check_http: Update description of -C option

Mention that the -C option now accepts two comma-separated values.

---

 plugins/check_http.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/plugins/check_http.c b/plugins/check_http.c
index ce0e407..9231a55 100644
--- a/plugins/check_http.c
+++ b/plugins/check_http.c
@@ -1352,7 +1352,7 @@ print_help (void)
   printf ("    %s\n", _("auto-negotiation (1 = TLSv1, 2 = SSLv2, 3 = SSLv3)."));
   printf (" %s\n", "--sni");
   printf ("    %s\n", _("Enable SSL/TLS hostname extension support (SNI)"));
-  printf (" %s\n", "-C, --certificate=INTEGER");
+  printf (" %s\n", "-C, --certificate=INTEGER[,INTEGER]");
   printf ("    %s\n", _("Minimum number of days a certificate has to be valid. Port defaults to 443"));
   printf ("    %s\n", _("(when this option is used the URL is not checked.)\n"));
 #endif





More information about the Commits mailing list