diff options
author | Benoit Mortier <opensides@users.sourceforge.net> | 2004-12-25 23:17:46 (GMT) |
---|---|---|
committer | Benoit Mortier <opensides@users.sourceforge.net> | 2004-12-25 23:17:46 (GMT) |
commit | e9ccc6b21a1152bbf150302c4a29a6df79d75bd7 (patch) | |
tree | 91bf1ebb6f927fd628b298df2ac5a89580282591 /plugins/check_time.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_time.c')
-rw-r--r-- | plugins/check_time.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/check_time.c b/plugins/check_time.c index 63d7ee2..efca91b 100644 --- a/plugins/check_time.c +++ b/plugins/check_time.c | |||
@@ -216,9 +216,7 @@ process_arguments (int argc, char **argv) | |||
216 | 216 | ||
217 | switch (c) { | 217 | switch (c) { |
218 | case '?': /* print short usage statement if args not parsable */ | 218 | case '?': /* print short usage statement if args not parsable */ |
219 | printf (_("%s: Unknown argument: %s\n\n"), progname, optarg); | 219 | usage2 (_("Unknown argument"), optarg); |
220 | print_usage (); | ||
221 | exit (STATE_UNKNOWN); | ||
222 | case 'h': /* help */ | 220 | case 'h': /* help */ |
223 | print_help (); | 221 | print_help (); |
224 | exit (STATE_OK); | 222 | exit (STATE_OK); |