summaryrefslogtreecommitdiffstats
path: root/plugins/check_real.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/check_real.c')
-rw-r--r--plugins/check_real.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/check_real.c b/plugins/check_real.c
index 7cd17eea..755f6eb2 100644
--- a/plugins/check_real.c
+++ b/plugins/check_real.c
@@ -303,7 +303,7 @@ process_arguments (int argc, char **argv)
303 else if (is_host (optarg)) 303 else if (is_host (optarg))
304 server_address = optarg; 304 server_address = optarg;
305 else 305 else
306 usage (_("Invalid host name\n")); 306 usage2 (_("Invalid host name"), optarg);
307 break; 307 break;
308 case 'e': /* string to expect in response header */ 308 case 'e': /* string to expect in response header */
309 server_expect = optarg; 309 server_expect = optarg;
@@ -365,7 +365,7 @@ process_arguments (int argc, char **argv)
365 server_address = argv[c++]; 365 server_address = argv[c++];
366 } 366 }
367 else { 367 else {
368 usage (_("Invalid host name")); 368 usage2 (_("Invalid host name"), argv[c]);
369 } 369 }
370 } 370 }
371 371
@@ -403,8 +403,8 @@ print_help (void)
403 403
404 print_revision (progname, "$Revision$"); 404 print_revision (progname, "$Revision$");
405 405
406 printf (_("Copyright (c) 1999 Pedro Leite <leite@cic.ua.pt>\n")); 406 printf ("Copyright (c) 1999 Pedro Leite <leite@cic.ua.pt>\n");
407 printf (_(COPYRIGHT), copyright, email); 407 printf (COPYRIGHT, copyright, email);
408 408
409 printf (_("This plugin tests the REAL service on the specified host.\n\n")); 409 printf (_("This plugin tests the REAL service on the specified host.\n\n"));
410 410