diff options
author | Ton Voon <tonvoon@users.sourceforge.net> | 2004-11-24 00:46:40 +0000 |
---|---|---|
committer | Ton Voon <tonvoon@users.sourceforge.net> | 2004-11-24 00:46:40 +0000 |
commit | 0c1c9f51e2c33db04918d2aa322fd1f9a688979b (patch) | |
tree | c7956483bce0deb4b73ca3a6b9d0b7f2e97620db /plugins/check_tcp.c | |
parent | 589d4664919638bedd6e2e1710c323887d19584a (diff) | |
download | monitoring-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_tcp.c')
-rw-r--r-- | plugins/check_tcp.c | 8 |
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); |