aboutsummaryrefslogtreecommitdiff
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)
print_help ();
exit (STATE_OK);
case '?': /* help */
- printf (_("%s: Unknown argument: %s\n\n"), progname, optarg);
- print_usage ();
- exit (STATE_UNKNOWN);
+ usage2 (_("Unknown argument"), optarg);
}
}