summaryrefslogtreecommitdiffstats
path: root/plugins/check_tcp.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/check_tcp.c')
-rw-r--r--plugins/check_tcp.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/check_tcp.c b/plugins/check_tcp.c
index 126907f9..b78bf34d 100644
--- a/plugins/check_tcp.c
+++ b/plugins/check_tcp.c
@@ -429,7 +429,7 @@ process_arguments (int argc, char **argv)
429 break; 429 break;
430 case 'H': /* hostname */ 430 case 'H': /* hostname */
431 if (is_host (optarg) == FALSE) 431 if (is_host (optarg) == FALSE)
432 usage2 (_("invalid host name or address"), optarg); 432 usage2 (_("Invalid host name/address"), optarg);
433 server_address = optarg; 433 server_address = optarg;
434 break; 434 break;
435 case 'c': /* critical */ 435 case 'c': /* critical */
@@ -459,7 +459,7 @@ process_arguments (int argc, char **argv)
459 break; 459 break;
460 case 't': /* timeout */ 460 case 't': /* timeout */
461 if (!is_intpos (optarg)) 461 if (!is_intpos (optarg))
462 usage (_("Timeout interval must be a positive integer\n")); 462 usage2 (_("Timeout interval must be a positive integer"), optarg);
463 else 463 else
464 socket_timeout = atoi (optarg); 464 socket_timeout = atoi (optarg);
465 break; 465 break;
@@ -603,8 +603,8 @@ print_help (void)
603{ 603{
604 print_revision (progname, revision); 604 print_revision (progname, revision);
605 605
606 printf (_("Copyright (c) 1999 Ethan Galstad <nagios@nagios.org>\n")); 606 printf ("Copyright (c) 1999 Ethan Galstad <nagios@nagios.org>\n");
607 printf (_(COPYRIGHT), copyright, email); 607 printf (COPYRIGHT, copyright, email);
608 608
609 printf (_("This plugin tests %s connections with the specified host.\n\n"), 609 printf (_("This plugin tests %s connections with the specified host.\n\n"),
610 SERVICE); 610 SERVICE);