diff options
author | Benoit Mortier <opensides@users.sourceforge.net> | 2004-12-01 19:33:45 (GMT) |
---|---|---|
committer | Benoit Mortier <opensides@users.sourceforge.net> | 2004-12-01 19:33:45 (GMT) |
commit | 54c21eba62b55503dbe6fda607ccbef4a27a1f14 (patch) | |
tree | fd28942d1170f607e5e9979e0b0cdcef5240c88f /plugins/check_ssh.c | |
parent | 5dc0b02ccc2b549d5ee7c8c7249723af9bd1cb74 (diff) | |
download | monitoring-plugins-54c21eba62b55503dbe6fda607ccbef4a27a1f14.tar.gz |
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
Diffstat (limited to 'plugins/check_ssh.c')
-rw-r--r-- | plugins/check_ssh.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/plugins/check_ssh.c b/plugins/check_ssh.c index 86267b2..ea74fa8 100644 --- a/plugins/check_ssh.c +++ b/plugins/check_ssh.c | |||
@@ -104,7 +104,8 @@ process_arguments (int argc, char **argv) | |||
104 | 104 | ||
105 | switch (c) { | 105 | switch (c) { |
106 | case '?': /* help */ | 106 | case '?': /* help */ |
107 | usage (""); | 107 | usage (_("Unknow argument\n")); |
108 | break; | ||
108 | case 'V': /* version */ | 109 | case 'V': /* version */ |
109 | print_revision (progname, revision); | 110 | print_revision (progname, revision); |
110 | exit (STATE_OK); | 111 | exit (STATE_OK); |
@@ -135,7 +136,7 @@ process_arguments (int argc, char **argv) | |||
135 | break; | 136 | break; |
136 | case 'H': /* host */ | 137 | case 'H': /* host */ |
137 | if (is_host (optarg) == FALSE) | 138 | if (is_host (optarg) == FALSE) |
138 | usage2 (_("Invalid host name/address"), optarg); | 139 | usage2 (_("Invalid hostname/address"), optarg); |
139 | server_name = optarg; | 140 | server_name = optarg; |
140 | break; | 141 | break; |
141 | case 'p': /* port */ | 142 | case 'p': /* port */ |
@@ -250,7 +251,7 @@ print_help (void) | |||
250 | printf ("Copyright (c) 1999 Remi Paulmier <remi@sinfomic.fr>\n"); | 251 | printf ("Copyright (c) 1999 Remi Paulmier <remi@sinfomic.fr>\n"); |
251 | printf (COPYRIGHT, copyright, email); | 252 | printf (COPYRIGHT, copyright, email); |
252 | 253 | ||
253 | printf (_("Try to connect to SSH server at specified server and port\n\n")); | 254 | printf (_("Try to connect to an SSH server at specified server and port\n\n")); |
254 | 255 | ||
255 | print_usage (); | 256 | print_usage (); |
256 | 257 | ||