From 0c1c9f51e2c33db04918d2aa322fd1f9a688979b Mon Sep 17 00:00:00 2001 From: Ton Voon Date: Wed, 24 Nov 2004 00:46:40 +0000 Subject: Making messages more consistent git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@930 f882894a-f735-0410-b71e-b25c423dba1c --- plugins/check_tcp.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins/check_tcp.c') 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) break; case 'H': /* hostname */ if (is_host (optarg) == FALSE) - usage2 (_("invalid host name or address"), optarg); + usage2 (_("Invalid host name/address"), optarg); server_address = optarg; break; case 'c': /* critical */ @@ -459,7 +459,7 @@ process_arguments (int argc, char **argv) break; case 't': /* timeout */ if (!is_intpos (optarg)) - usage (_("Timeout interval must be a positive integer\n")); + usage2 (_("Timeout interval must be a positive integer"), optarg); else socket_timeout = atoi (optarg); break; @@ -603,8 +603,8 @@ print_help (void) { print_revision (progname, revision); - printf (_("Copyright (c) 1999 Ethan Galstad \n")); - printf (_(COPYRIGHT), copyright, email); + printf ("Copyright (c) 1999 Ethan Galstad \n"); + printf (COPYRIGHT, copyright, email); printf (_("This plugin tests %s connections with the specified host.\n\n"), SERVICE); -- cgit v1.2.3-74-g34f1