summaryrefslogtreecommitdiffstats
path: root/plugins/check_load.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/check_load.c')
-rw-r--r--plugins/check_load.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/check_load.c b/plugins/check_load.c
index 1b7865c7..7e1cc481 100644
--- a/plugins/check_load.c
+++ b/plugins/check_load.c
@@ -224,9 +224,7 @@ process_arguments (int argc, char **argv)
224 print_help (); 224 print_help ();
225 exit (STATE_OK); 225 exit (STATE_OK);
226 case '?': /* help */ 226 case '?': /* help */
227 printf (_("%s: Unknown argument: %s\n\n"), progname, optarg); 227 usage2 (_("Unknown argument"), optarg);
228 print_usage ();
229 exit (STATE_UNKNOWN);
230 } 228 }
231 } 229 }
232 230