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_ups.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins/check_ups.c') diff --git a/plugins/check_ups.c b/plugins/check_ups.c index f88e9e9f..33cba770 100644 --- a/plugins/check_ups.c +++ b/plugins/check_ups.c @@ -472,7 +472,7 @@ process_arguments (int argc, char **argv) server_address = optarg; } else { - usage2 ("Invalid host name", optarg); + usage2 (_("Invalid host name"), optarg); } break; case 'u': /* ups name */ @@ -538,7 +538,7 @@ process_arguments (int argc, char **argv) if (is_host (argv[optind])) server_address = argv[optind++]; else - usage ("Invalid host name"); + usage2 (_("Invalid host name"), optarg); } if (server_address == NULL) @@ -570,8 +570,8 @@ print_help (void) print_revision (progname, revision); - printf (_("Copyright (c) 2000 Tom Shields")); - printf (_(COPYRIGHT), copyright, email); + printf ("Copyright (c) 2000 Tom Shields"); + printf (COPYRIGHT, copyright, email); printf (_("This plugin tests the UPS service on the specified host.\n\ Network UPS Tools from www.exploits.org must be running for this plugin to\n\ -- cgit v1.2.3