From 54c21eba62b55503dbe6fda607ccbef4a27a1f14 Mon Sep 17 00:00:00 2001 From: Benoit Mortier Date: Wed, 1 Dec 2004 19:33:45 +0000 Subject: first pass at standardization of messages for the localization git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@962 f882894a-f735-0410-b71e-b25c423dba1c --- plugins/check_by_ssh.c | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) (limited to 'plugins/check_by_ssh.c') diff --git a/plugins/check_by_ssh.c b/plugins/check_by_ssh.c index 9500cb3d..6daa1a11 100644 --- a/plugins/check_by_ssh.c +++ b/plugins/check_by_ssh.c @@ -167,11 +167,6 @@ main (int argc, char **argv) return result; } - - - - - /* process command-line arguments */ int process_arguments (int argc, char **argv) @@ -238,12 +233,12 @@ process_arguments (int argc, char **argv) break; case 'H': /* host */ if (!is_host (optarg)) - usage2 (_("Invalid host name"), optarg); + usage2 (_("Invalid hostname/adress"), optarg); hostname = optarg; break; case 'p': /* port number */ if (!is_integer (optarg)) - usage2 (_("port must be an integer"), optarg); + usage2 (_("port must be a positive integer"), optarg); asprintf (&comm,"%s -p %s", comm, optarg); break; case 'O': /* output file */ @@ -340,10 +335,6 @@ validate_arguments (void) } - - - - void print_help (void) { -- cgit v1.2.3-74-g34f1