summaryrefslogtreecommitdiffstats
path: root/plugins/check_mrtg.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/check_mrtg.c')
-rw-r--r--plugins/check_mrtg.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/check_mrtg.c b/plugins/check_mrtg.c
index bd37aeff..067429cf 100644
--- a/plugins/check_mrtg.c
+++ b/plugins/check_mrtg.c
@@ -233,9 +233,7 @@ process_arguments (int argc, char **argv)
233 print_help (); 233 print_help ();
234 exit (STATE_OK); 234 exit (STATE_OK);
235 case '?': /* help */ 235 case '?': /* help */
236 printf (_("%s: Unknown argument: %s\n\n"), progname, optarg); 236 usage2 (_("Unknown argument"), optarg);
237 print_usage ();
238 exit (STATE_UNKNOWN);
239 } 237 }
240 } 238 }
241 239