diff options
author | Benoit Mortier <opensides@users.sourceforge.net> | 2004-12-03 23:02:04 (GMT) |
---|---|---|
committer | Benoit Mortier <opensides@users.sourceforge.net> | 2004-12-03 23:02:04 (GMT) |
commit | 5e3fc41c6143676cf01b7aad789fc5f2cae5ce84 (patch) | |
tree | c6a4be653d48aab261ad1496f9b83f6f17c491e1 /plugins/check_http.c | |
parent | c6a18d714a1ee49c62eb3b53ebff41ecadf3b7c2 (diff) | |
download | monitoring-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.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/plugins/check_http.c b/plugins/check_http.c index f334026..3ff834b 100644 --- a/plugins/check_http.c +++ b/plugins/check_http.c | |||
@@ -21,7 +21,7 @@ | |||
21 | 21 | ||
22 | const char *progname = "check_http"; | 22 | const char *progname = "check_http"; |
23 | const char *revision = "$Revision$"; | 23 | const char *revision = "$Revision$"; |
24 | const char *copyright = "1999-2001"; | 24 | const char *copyright = "1999-2004"; |
25 | const char *email = "nagiosplug-devel@lists.sourceforge.net"; | 25 | const char *email = "nagiosplug-devel@lists.sourceforge.net"; |
26 | 26 | ||
27 | #include "common.h" | 27 | #include "common.h" |
@@ -1376,7 +1376,7 @@ print_help (void) | |||
1376 | This plugin tests the HTTP service on the specified host. It can test\n\ | 1376 | This plugin tests the HTTP service on the specified host. It can test\n\ |
1377 | normal (http) and secure (https) servers, follow redirects, search for\n\ | 1377 | normal (http) and secure (https) servers, follow redirects, search for\n\ |
1378 | strings and regular expressions, check connection times, and report on\n\ | 1378 | strings and regular expressions, check connection times, and report on\n\ |
1379 | certificate expiration times.\n")); | 1379 | certificate expiration times.\n\n")); |
1380 | 1380 | ||
1381 | print_usage (); | 1381 | print_usage (); |
1382 | 1382 | ||
@@ -1492,9 +1492,9 @@ print_usage (void) | |||
1492 | { | 1492 | { |
1493 | printf (_("\ | 1493 | printf (_("\ |
1494 | Usage: %s -H <vhost> | -I <IP-address>) [-u <uri>] [-p <port>]\n\ | 1494 | Usage: %s -H <vhost> | -I <IP-address>) [-u <uri>] [-p <port>]\n\ |
1495 | [-w <warn time>] [-c <critical time>] [-t <timeout>] [-L]\n\ | 1495 | [-w <warn time>] [-c <critical time>] [-t <timeout>] [-L]\n\ |
1496 | [-a auth] [-f <ok | warn | critcal | follow>] [-e <expect>]\n\ | 1496 | [-a auth] [-f <ok | warn | critcal | follow>] [-e <expect>]\n\ |
1497 | [-s string] [-l] [-r <regex> | -R <case-insensitive regex>]\n\ | 1497 | [-s string] [-l] [-r <regex> | -R <case-insensitive regex>]\n\ |
1498 | [-P string] [-m min_pg_size] [-4|-6] [-N] [-M <age>] [-A string]\n\ | 1498 | [-P string] [-m min_pg_size] [-4|-6] [-N] [-M <age>]\n\ |
1499 | [-k string]\n"), progname); | 1499 | [-A string] [-k string]\n"), progname); |
1500 | } | 1500 | } |