diff options
Diffstat (limited to 'plugins/check_hpjd.c')
-rw-r--r-- | plugins/check_hpjd.c | 18 |
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 @@ | |||
19 | 19 | ||
20 | const char *progname = "check_hpjd"; | 20 | const char *progname = "check_hpjd"; |
21 | const char *revision = "$Revision$"; | 21 | const char *revision = "$Revision$"; |
22 | const char *copyright = "2000-2004"; | 22 | const char *copyright = "2000-2006"; |
23 | const char *email = "nagiosplug-devel@lists.sourceforge.net"; | 23 | const 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.")); |
378 | This 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.")); |
379 | Net-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")); | |||
394 | void | 395 | void |
395 | print_usage (void) | 396 | print_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 | } |