summaryrefslogtreecommitdiffstats
path: root/plugins/check_time.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/check_time.c')
-rw-r--r--plugins/check_time.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/check_time.c b/plugins/check_time.c
index 63d7ee25..efca91bd 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);