diff options
Diffstat (limited to 'plugins/check_ping.c')
-rw-r--r-- | plugins/check_ping.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/check_ping.c b/plugins/check_ping.c index 9176466..818bb66 100644 --- a/plugins/check_ping.c +++ b/plugins/check_ping.c | |||
@@ -194,9 +194,7 @@ process_arguments (int argc, char **argv) | |||
194 | 194 | ||
195 | switch (c) { | 195 | switch (c) { |
196 | case '?': /* usage */ | 196 | case '?': /* usage */ |
197 | printf (_("%s: Unknown argument: %s\n\n"), progname, optarg); | 197 | usage2 (_("Unknown argument"), optarg); |
198 | print_usage (); | ||
199 | exit (STATE_UNKNOWN); | ||
200 | case 'h': /* help */ | 198 | case 'h': /* help */ |
201 | print_help (); | 199 | print_help (); |
202 | exit (STATE_OK); | 200 | exit (STATE_OK); |