diff --git a/plugins/check_http.c b/plugins/check_http.c
index 038ac68ad51c12dd0280e56fd1aed03d0031366d..2f693328a7e597d549b9813cd3a4721675f280b4 100644 (file)
--- a/plugins/check_http.c
+++ b/plugins/check_http.c
switch (c) {
case '?': /* usage */
- usage2 ("unknown argument", optarg);
+ usage3 ("unknown argument", optopt);
break;
case 'h': /* help */
print_help ();