diff options
author | Benoit Mortier <opensides@users.sourceforge.net> | 2004-12-25 23:17:46 +0000 |
---|---|---|
committer | Benoit Mortier <opensides@users.sourceforge.net> | 2004-12-25 23:17:46 +0000 |
commit | e9ccc6b21a1152bbf150302c4a29a6df79d75bd7 (patch) | |
tree | 91bf1ebb6f927fd628b298df2ac5a89580282591 /plugins/check_smtp.c | |
parent | 71656b2aafffb69716620bf08cce76c925dc8fa3 (diff) | |
download | monitoring-plugins-e9ccc6b21a1152bbf150302c4a29a6df79d75bd7.tar.gz |
various fixes for localization
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1061 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_smtp.c')
-rw-r--r-- | plugins/check_smtp.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/plugins/check_smtp.c b/plugins/check_smtp.c index b6c60c24..55cf5da5 100644 --- a/plugins/check_smtp.c +++ b/plugins/check_smtp.c | |||
@@ -351,7 +351,7 @@ process_arguments (int argc, char **argv) | |||
351 | socket_timeout = atoi (optarg); | 351 | socket_timeout = atoi (optarg); |
352 | } | 352 | } |
353 | else { | 353 | else { |
354 | usage4 (_("Time interval must be a positive integer")); | 354 | usage4 (_("Timeout interval must be a positive integer")); |
355 | } | 355 | } |
356 | break; | 356 | break; |
357 | case '4': | 357 | case '4': |
@@ -371,9 +371,7 @@ process_arguments (int argc, char **argv) | |||
371 | print_help (); | 371 | print_help (); |
372 | exit (STATE_OK); | 372 | exit (STATE_OK); |
373 | case '?': /* help */ | 373 | case '?': /* help */ |
374 | printf (_("%s: Unknown argument: %s\n\n"), progname, optarg); | 374 | usage2 (_("Unknown argument"), optarg); |
375 | print_usage (); | ||
376 | exit (STATE_UNKNOWN); | ||
377 | } | 375 | } |
378 | } | 376 | } |
379 | 377 | ||