aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Thomas Guyot-Sionnest <dermoth@users.sourceforge.net> 2007-04-15 15:17:26 +0000
committerGravatar Thomas Guyot-Sionnest <dermoth@users.sourceforge.net> 2007-04-15 15:17:26 +0000
commit9524f9e6251bb906df3cc0174c5e92a9842ab062 (patch)
treeb12f4601e5ce9a403065b22cdd2192efa1fff9d9
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
-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 @@
const char *progname = "check_cluster";
const char *revision = "$Revision$";
-const char *copyright = "2000-2007";
+const char *copyright = "2007";
const char *email = "nagiosplug-devel@lists.sourceforge.net";
#include "common.h"
@@ -219,13 +219,15 @@ void
print_help(void)
{
print_revision(progname, revision);
+ printf ("Copyright (c) 2000-2004 Ethan Galstad (nagios@nagios.org)\n");
printf(COPYRIGHT, copyright, email);
- printf("%s\n", _("Host/Service Cluster Plugin for Nagios 2"));
+ printf(_("Host/Service Cluster Plugin for Nagios 2"));
+ printf("\n\n");
print_usage();
-
+ printf("\n");
printf("%s\n", _("Options:"));
printf (" %s\n", "-s, --service");
printf (" %s\n", _("Check service cluster status"));
@@ -248,7 +250,7 @@ print_help(void)
printf("\n");
printf("%s\n", _("Notes:"));
printf(" %s\n", _("See:"));
- printf(" %s\n", _("http://nagiosplug.sourceforge.net/developer-guidelines.html#THRESHOLDFORMAT"));
+ printf(" %s\n", ("http://nagiosplug.sourceforge.net/developer-guidelines.html#THRESHOLDFORMAT"));
printf(" %s\n", _("for THRESHOLD format and examples."));
printf(_(UT_SUPPORT));
@@ -260,14 +262,9 @@ void
print_usage(void)
{
- printf("\n");
printf(_("Usage:"));
printf(" %s (-s | -h) -d val1[,val2,...,valn] [-l label]\n", progname);
printf("[-w threshold] [-c threshold] [-v] [--help]\n");
- printf("\n");
}
-#if 0
-#endif
-