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_ssh.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'plugins/check_ssh.c') diff --git a/plugins/check_ssh.c b/plugins/check_ssh.c index 86267b29..ea74fa88 100644 --- a/plugins/check_ssh.c +++ b/plugins/check_ssh.c @@ -104,7 +104,8 @@ process_arguments (int argc, char **argv) switch (c) { case '?': /* help */ - usage (""); + usage (_("Unknow argument\n")); + break; case 'V': /* version */ print_revision (progname, revision); exit (STATE_OK); @@ -135,7 +136,7 @@ process_arguments (int argc, char **argv) break; case 'H': /* host */ if (is_host (optarg) == FALSE) - usage2 (_("Invalid host name/address"), optarg); + usage2 (_("Invalid hostname/address"), optarg); server_name = optarg; break; case 'p': /* port */ @@ -250,7 +251,7 @@ print_help (void) printf ("Copyright (c) 1999 Remi Paulmier \n"); printf (COPYRIGHT, copyright, email); - printf (_("Try to connect to SSH server at specified server and port\n\n")); + printf (_("Try to connect to an SSH server at specified server and port\n\n")); print_usage (); -- cgit v1.2.3