summaryrefslogtreecommitdiffstats
path: root/plugins/check_hpjd.c
diff options
context:
space:
mode:
authorBenoit Mortier <opensides@users.sourceforge.net>2006-06-17 12:28:43 (GMT)
committerBenoit Mortier <opensides@users.sourceforge.net>2006-06-17 12:28:43 (GMT)
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 b281c33..632237a 100644
--- a/plugins/check_hpjd.c
+++ b/plugins/check_hpjd.c
@@ -19,7 +19,7 @@
19 19
20const char *progname = "check_hpjd"; 20const char *progname = "check_hpjd";
21const char *revision = "$Revision$"; 21const char *revision = "$Revision$";
22const char *copyright = "2000-2004"; 22const char *copyright = "2000-2006";
23const char *email = "nagiosplug-devel@lists.sourceforge.net"; 23const char *email = "nagiosplug-devel@lists.sourceforge.net";
24 24
25#include "common.h" 25#include "common.h"
@@ -374,17 +374,18 @@ print_help (void)
374 printf ("Copyright (c) 1999 Ethan Galstad <nagios@nagios.org>\n"); 374 printf ("Copyright (c) 1999 Ethan Galstad <nagios@nagios.org>\n");
375 printf (COPYRIGHT, copyright, email); 375 printf (COPYRIGHT, copyright, email);
376 376
377 printf (_("\ 377 printf ("%s\n", _("This plugin tests the STATUS of an HP printer with a JetDirect card."));
378This plugin tests the STATUS of an HP printer with a JetDirect card.\n\ 378 printf ("%s\n", _("Net-snmp must be installed on the computer running the plugin."));
379Net-snmp must be installed on the computer running the plugin.\n\n"));
380 379
380 printf ("\n\n");
381
381 print_usage (); 382 print_usage ();
382 383
383 printf (_(UT_HELP_VRSN)); 384 printf (_(UT_HELP_VRSN));
384 385
385 printf (_("\ 386 printf (" %s\n", "-C, --community=STRING");
386 -C, --community=STRING\n\ 387 printf (" %s", _("The SNMP community name "));
387 The SNMP community name (default=%s)\n"), DEFAULT_COMMUNITY); 388 printf (_("(default=%s)"), DEFAULT_COMMUNITY);
388 389
389 printf (_(UT_SUPPORT)); 390 printf (_(UT_SUPPORT));
390} 391}
@@ -394,5 +395,6 @@ Net-snmp must be installed on the computer running the plugin.\n\n"));
394void 395void
395print_usage (void) 396print_usage (void)
396{ 397{
397 printf ("Usage: %s -H host [-C community]\n", progname); 398 printf (_("Usage:"));
399 printf ("%s -H host [-C community]\n", progname);
398} 400}