summaryrefslogtreecommitdiffstats
path: root/plugins/check_hpjd.c
diff options
context:
space:
mode:
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}