diff options
Diffstat (limited to 'plugins/check_ssh.c')
-rw-r--r-- | plugins/check_ssh.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/check_ssh.c b/plugins/check_ssh.c index 79e17017..6e0b0f17 100644 --- a/plugins/check_ssh.c +++ b/plugins/check_ssh.c | |||
@@ -114,7 +114,7 @@ process_arguments (int argc, char **argv) | |||
114 | break; | 114 | break; |
115 | case 't': /* timeout period */ | 115 | case 't': /* timeout period */ |
116 | if (!is_integer (optarg)) | 116 | if (!is_integer (optarg)) |
117 | usage (_("Timeout Interval must be an integer!\n\n")); | 117 | usage2 (_("Timeout interval must be a positive integer"), optarg); |
118 | else | 118 | else |
119 | socket_timeout = atoi (optarg); | 119 | socket_timeout = atoi (optarg); |
120 | break; | 120 | break; |
@@ -130,7 +130,7 @@ process_arguments (int argc, char **argv) | |||
130 | break; | 130 | break; |
131 | case 'H': /* host */ | 131 | case 'H': /* host */ |
132 | if (is_host (optarg) == FALSE) | 132 | if (is_host (optarg) == FALSE) |
133 | usage ("Invalid hostname/address\n"); | 133 | usage2 (_("Invalid host name/address"), optarg); |
134 | server_name = optarg; | 134 | server_name = optarg; |
135 | break; | 135 | break; |
136 | case 'p': /* port */ | 136 | case 'p': /* port */ |
@@ -233,8 +233,8 @@ print_help (void) | |||
233 | 233 | ||
234 | print_revision (progname, revision); | 234 | print_revision (progname, revision); |
235 | 235 | ||
236 | printf (_("Copyright (c) 1999 Remi Paulmier <remi@sinfomic.fr>\n")); | 236 | printf ("Copyright (c) 1999 Remi Paulmier <remi@sinfomic.fr>\n"); |
237 | printf (_(COPYRIGHT), copyright, email); | 237 | printf (COPYRIGHT, copyright, email); |
238 | 238 | ||
239 | printf (_("Try to connect to SSH server at specified server and port\n\n")); | 239 | printf (_("Try to connect to SSH server at specified server and port\n\n")); |
240 | 240 | ||