summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorThomas Guyot-Sionnest <dermoth@users.sourceforge.net>2007-04-15 15:17:26 +0000
committerThomas Guyot-Sionnest <dermoth@users.sourceforge.net>2007-04-15 15:17:26 +0000
commit9524f9e6251bb906df3cc0174c5e92a9842ab062 (patch)
treeb12f4601e5ce9a403065b22cdd2192efa1fff9d9 /plugins
parent3ac4d2fb21773a47872f4ea64b6757ebe7597537 (diff)
downloadmonitoring-plugins-9524f9e6251bb906df3cc0174c5e92a9842ab062.tar.gz
Localization and help fixes (Thanks Benoit M.)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1691 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins')
-rw-r--r--plugins/check_cluster.c15
1 files changed, 6 insertions, 9 deletions
diff --git a/plugins/check_cluster.c b/plugins/check_cluster.c
index 10773f04..9ded4a80 100644
--- a/plugins/check_cluster.c
+++ b/plugins/check_cluster.c
@@ -29,7 +29,7 @@
29 29
30const char *progname = "check_cluster"; 30const char *progname = "check_cluster";
31const char *revision = "$Revision$"; 31const char *revision = "$Revision$";
32const char *copyright = "2000-2007"; 32const char *copyright = "2007";
33const char *email = "nagiosplug-devel@lists.sourceforge.net"; 33const char *email = "nagiosplug-devel@lists.sourceforge.net";
34 34
35#include "common.h" 35#include "common.h"
@@ -219,13 +219,15 @@ void
219print_help(void) 219print_help(void)
220{ 220{
221 print_revision(progname, revision); 221 print_revision(progname, revision);
222 printf ("Copyright (c) 2000-2004 Ethan Galstad (nagios@nagios.org)\n");
222 printf(COPYRIGHT, copyright, email); 223 printf(COPYRIGHT, copyright, email);
223 224
224 printf("%s\n", _("Host/Service Cluster Plugin for Nagios 2")); 225 printf(_("Host/Service Cluster Plugin for Nagios 2"));
226 printf("\n\n");
225 227
226 print_usage(); 228 print_usage();
227 229
228 230 printf("\n");
229 printf("%s\n", _("Options:")); 231 printf("%s\n", _("Options:"));
230 printf (" %s\n", "-s, --service"); 232 printf (" %s\n", "-s, --service");
231 printf (" %s\n", _("Check service cluster status")); 233 printf (" %s\n", _("Check service cluster status"));
@@ -248,7 +250,7 @@ print_help(void)
248 printf("\n"); 250 printf("\n");
249 printf("%s\n", _("Notes:")); 251 printf("%s\n", _("Notes:"));
250 printf(" %s\n", _("See:")); 252 printf(" %s\n", _("See:"));
251 printf(" %s\n", _("http://nagiosplug.sourceforge.net/developer-guidelines.html#THRESHOLDFORMAT")); 253 printf(" %s\n", ("http://nagiosplug.sourceforge.net/developer-guidelines.html#THRESHOLDFORMAT"));
252 printf(" %s\n", _("for THRESHOLD format and examples.")); 254 printf(" %s\n", _("for THRESHOLD format and examples."));
253 255
254 printf(_(UT_SUPPORT)); 256 printf(_(UT_SUPPORT));
@@ -260,14 +262,9 @@ void
260print_usage(void) 262print_usage(void)
261{ 263{
262 264
263 printf("\n");
264 printf(_("Usage:")); 265 printf(_("Usage:"));
265 printf(" %s (-s | -h) -d val1[,val2,...,valn] [-l label]\n", progname); 266 printf(" %s (-s | -h) -d val1[,val2,...,valn] [-l label]\n", progname);
266 printf("[-w threshold] [-c threshold] [-v] [--help]\n"); 267 printf("[-w threshold] [-c threshold] [-v] [--help]\n");
267 printf("\n");
268 268
269} 269}
270 270
271#if 0
272#endif
273