[Nagiosplug-checkins] nagiosplug/plugins check_http.c,1.85,1.86

Benoit Mortier opensides at users.sourceforge.net
Sun Nov 13 17:19:19 CET 2005


Update of /cvsroot/nagiosplug/nagiosplug/plugins
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18581/plugins

Modified Files:
	check_http.c 
Log Message:

localization cleaning ...
last commit before sleeping



Index: check_http.c
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins/check_http.c,v
retrieving revision 1.85
retrieving revision 1.86
diff -u -d -r1.85 -r1.86
--- check_http.c	31 Oct 2005 20:03:19 -0000	1.85
+++ check_http.c	14 Nov 2005 01:18:57 -0000	1.86
@@ -21,7 +21,7 @@
 
 const char *progname = "check_http";
 const char *revision = "$Revision$";
-const char *copyright = "1999-2004";
+const char *copyright = "1999-2005";
 const char *email = "nagiosplug-devel at lists.sourceforge.net";
 
 #include "common.h"
@@ -32,9 +32,9 @@
 
 #define HTTP_EXPECT "HTTP/1."
[...2045 lines suppressed...]
 }
 
@@ -1328,11 +1332,10 @@
 void
 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>:<max_pg_size>] [-4|-6] [-N] \n\
-                  [-M <age>] [-A string] [-k string]\n", progname);
+  printf (_("Usage:"));
+  printf (" %s -H <vhost> | -I <IP-address> [-u <uri>] [-p <port>]\n",progname);
+  printf ("       [-w <warn time>] [-c <critical time>] [-t <timeout>] [-L]\n");
+  printf ("       [-a auth] [-f <ok | warn | critcal | follow>] [-e <expect>]\n");
+  printf ("       [-s string] [-l] [-r <regex> | -R <case-insensitive regex>] [-P string]\n");
+  printf ("       [-m <min_pg_size>:<max_pg_size>] [-4|-6] [-N] [-M <age>] [-A string] [-k string]\n");
 }





More information about the Commits mailing list