aboutsummaryrefslogtreecommitdiff
path: root/plugins/check_http.c
diff options
context:
space:
mode:
authorGravatar Benoit Mortier <opensides@users.sourceforge.net> 2004-12-03 23:02:04 +0000
committerGravatar Benoit Mortier <opensides@users.sourceforge.net> 2004-12-03 23:02:04 +0000
commit5e3fc41c6143676cf01b7aad789fc5f2cae5ce84 (patch)
treec6a4be653d48aab261ad1496f9b83f6f17c491e1 /plugins/check_http.c
parentc6a18d714a1ee49c62eb3b53ebff41ecadf3b7c2 (diff)
downloadmonitoring-plugins-5e3fc41c6143676cf01b7aad789fc5f2cae5ce84.tar.gz
print_help and print_usage() cleanup
other misc cleanups git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@996 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_http.c')
-rw-r--r--plugins/check_http.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/plugins/check_http.c b/plugins/check_http.c
index f3340268..3ff834b3 100644
--- a/plugins/check_http.c
+++ b/plugins/check_http.c
@@ -21,7 +21,7 @@
const char *progname = "check_http";
const char *revision = "$Revision$";
-const char *copyright = "1999-2001";
+const char *copyright = "1999-2004";
const char *email = "nagiosplug-devel@lists.sourceforge.net";
#include "common.h"
@@ -1376,7 +1376,7 @@ print_help (void)
This plugin tests the HTTP service on the specified host. It can test\n\
normal (http) and secure (https) servers, follow redirects, search for\n\
strings and regular expressions, check connection times, and report on\n\
-certificate expiration times.\n"));
+certificate expiration times.\n\n"));
print_usage ();
@@ -1492,9 +1492,9 @@ print_usage (void)
{
printf (_("\
Usage: %s -H <vhost> | -I <IP-address>) [-u <uri>] [-p <port>]\n\
- [-w <warn time>] [-c <critical time>] [-t <timeout>] [-L]\n\
- [-a auth] [-f <ok | warn | critcal | follow>] [-e <expect>]\n\
- [-s string] [-l] [-r <regex> | -R <case-insensitive regex>]\n\
- [-P string] [-m min_pg_size] [-4|-6] [-N] [-M <age>] [-A string]\n\
- [-k string]\n"), progname);
+ [-w <warn time>] [-c <critical time>] [-t <timeout>] [-L]\n\
+ [-a auth] [-f <ok | warn | critcal | follow>] [-e <expect>]\n\
+ [-s string] [-l] [-r <regex> | -R <case-insensitive regex>]\n\
+ [-P string] [-m min_pg_size] [-4|-6] [-N] [-M <age>]\n\
+ [-A string] [-k string]\n"), progname);
}