aboutsummaryrefslogtreecommitdiff
path: root/plugins/check_hpjd.c
diff options
context:
space:
mode:
authorGravatar Benoit Mortier <opensides@users.sourceforge.net> 2006-06-17 12:28:43 +0000
committerGravatar Benoit Mortier <opensides@users.sourceforge.net> 2006-06-17 12:28:43 +0000
commitcbbfed30eb01a702b2e61c0abcb64c834e73d654 (patch)
treeb9d050fa415733f80306530e1ed028ef3ce9759a /plugins/check_hpjd.c
parente5324624caefb201439012d795bebdf46966ec9c (diff)
downloadmonitoring-plugins-cbbfed30eb01a702b2e61c0abcb64c834e73d654.tar.gz
cleaning up help and usage
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1433 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_hpjd.c')
-rw-r--r--plugins/check_hpjd.c18
1 files changed, 10 insertions, 8 deletions
diff --git a/plugins/check_hpjd.c b/plugins/check_hpjd.c
index b281c33a..632237ac 100644
--- a/plugins/check_hpjd.c
+++ b/plugins/check_hpjd.c
@@ -19,7 +19,7 @@
const char *progname = "check_hpjd";
const char *revision = "$Revision$";
-const char *copyright = "2000-2004";
+const char *copyright = "2000-2006";
const char *email = "nagiosplug-devel@lists.sourceforge.net";
#include "common.h"
@@ -374,17 +374,18 @@ print_help (void)
printf ("Copyright (c) 1999 Ethan Galstad <nagios@nagios.org>\n");
printf (COPYRIGHT, copyright, email);
- printf (_("\
-This plugin tests the STATUS of an HP printer with a JetDirect card.\n\
-Net-snmp must be installed on the computer running the plugin.\n\n"));
+ printf ("%s\n", _("This plugin tests the STATUS of an HP printer with a JetDirect card."));
+ printf ("%s\n", _("Net-snmp must be installed on the computer running the plugin."));
+ printf ("\n\n");
+
print_usage ();
printf (_(UT_HELP_VRSN));
- printf (_("\
- -C, --community=STRING\n\
- The SNMP community name (default=%s)\n"), DEFAULT_COMMUNITY);
+ printf (" %s\n", "-C, --community=STRING");
+ printf (" %s", _("The SNMP community name "));
+ printf (_("(default=%s)"), DEFAULT_COMMUNITY);
printf (_(UT_SUPPORT));
}
@@ -394,5 +395,6 @@ Net-snmp must be installed on the computer running the plugin.\n\n"));
void
print_usage (void)
{
- printf ("Usage: %s -H host [-C community]\n", progname);
+ printf (_("Usage:"));
+ printf ("%s -H host [-C community]\n", progname);
}