diff options
author | Ton Voon <tonvoon@users.sourceforge.net> | 2004-11-24 00:46:40 (GMT) |
---|---|---|
committer | Ton Voon <tonvoon@users.sourceforge.net> | 2004-11-24 00:46:40 (GMT) |
commit | 0c1c9f51e2c33db04918d2aa322fd1f9a688979b (patch) | |
tree | c7956483bce0deb4b73ca3a6b9d0b7f2e97620db /plugins/check_ups.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_ups.c')
-rw-r--r-- | plugins/check_ups.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/check_ups.c b/plugins/check_ups.c index f88e9e9..33cba77 100644 --- a/plugins/check_ups.c +++ b/plugins/check_ups.c | |||
@@ -472,7 +472,7 @@ process_arguments (int argc, char **argv) | |||
472 | server_address = optarg; | 472 | server_address = optarg; |
473 | } | 473 | } |
474 | else { | 474 | else { |
475 | usage2 ("Invalid host name", optarg); | 475 | usage2 (_("Invalid host name"), optarg); |
476 | } | 476 | } |
477 | break; | 477 | break; |
478 | case 'u': /* ups name */ | 478 | case 'u': /* ups name */ |
@@ -538,7 +538,7 @@ process_arguments (int argc, char **argv) | |||
538 | if (is_host (argv[optind])) | 538 | if (is_host (argv[optind])) |
539 | server_address = argv[optind++]; | 539 | server_address = argv[optind++]; |
540 | else | 540 | else |
541 | usage ("Invalid host name"); | 541 | usage2 (_("Invalid host name"), optarg); |
542 | } | 542 | } |
543 | 543 | ||
544 | if (server_address == NULL) | 544 | if (server_address == NULL) |
@@ -570,8 +570,8 @@ print_help (void) | |||
570 | 570 | ||
571 | print_revision (progname, revision); | 571 | print_revision (progname, revision); |
572 | 572 | ||
573 | printf (_("Copyright (c) 2000 Tom Shields")); | 573 | printf ("Copyright (c) 2000 Tom Shields"); |
574 | printf (_(COPYRIGHT), copyright, email); | 574 | printf (COPYRIGHT, copyright, email); |
575 | 575 | ||
576 | printf (_("This plugin tests the UPS service on the specified host.\n\ | 576 | printf (_("This plugin tests the UPS service on the specified host.\n\ |
577 | Network UPS Tools from www.exploits.org must be running for this plugin to\n\ | 577 | Network UPS Tools from www.exploits.org must be running for this plugin to\n\ |