summaryrefslogtreecommitdiffstats
path: root/plugins/check_hpjd.c
diff options
context:
space:
mode:
authorTon Voon <tonvoon@users.sourceforge.net>2004-11-24 00:46:40 (GMT)
committerTon Voon <tonvoon@users.sourceforge.net>2004-11-24 00:46:40 (GMT)
commit0c1c9f51e2c33db04918d2aa322fd1f9a688979b (patch)
treec7956483bce0deb4b73ca3a6b9d0b7f2e97620db /plugins/check_hpjd.c
parent589d4664919638bedd6e2e1710c323887d19584a (diff)
downloadmonitoring-plugins-0c1c9f51e2c33db04918d2aa322fd1f9a688979b.tar.gz
Making messages more consistent
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@930 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_hpjd.c')
-rw-r--r--plugins/check_hpjd.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/check_hpjd.c b/plugins/check_hpjd.c
index ec6bdf9..b124cce 100644
--- a/plugins/check_hpjd.c
+++ b/plugins/check_hpjd.c
@@ -321,7 +321,7 @@ process_arguments (int argc, char **argv)
321 address = strscpy(address, optarg) ; 321 address = strscpy(address, optarg) ;
322 } 322 }
323 else { 323 else {
324 usage (_("Invalid host name\n")); 324 usage2 (_("Invalid host name"), optarg);
325 } 325 }
326 break; 326 break;
327 case 'C': /* community */ 327 case 'C': /* community */
@@ -344,7 +344,7 @@ process_arguments (int argc, char **argv)
344 address = argv[c++]; 344 address = argv[c++];
345 } 345 }
346 else { 346 else {
347 usage (_("Invalid host name")); 347 usage2 (_("Invalid host name"), argv[c]);
348 } 348 }
349 } 349 }
350 350
@@ -378,8 +378,8 @@ print_help (void)
378{ 378{
379 print_revision (progname, revision); 379 print_revision (progname, revision);
380 380
381 printf (_("Copyright (c) 1999 Ethan Galstad <nagios@nagios.org>\n")); 381 printf ("Copyright (c) 1999 Ethan Galstad <nagios@nagios.org>\n");
382 printf (_(COPYRIGHT), copyright, email); 382 printf (COPYRIGHT, copyright, email);
383 383
384 printf (_("\ 384 printf (_("\
385This plugin tests the STATUS of an HP printer with a JetDirect card.\n\ 385This plugin tests the STATUS of an HP printer with a JetDirect card.\n\