diff options
Diffstat (limited to 'plugins/check_hpjd.c')
-rw-r--r-- | plugins/check_hpjd.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/check_hpjd.c b/plugins/check_hpjd.c index ec6bdf97..b124cceb 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 (_("\ |
385 | This plugin tests the STATUS of an HP printer with a JetDirect card.\n\ | 385 | This plugin tests the STATUS of an HP printer with a JetDirect card.\n\ |