summaryrefslogtreecommitdiffstats
path: root/plugins/check_by_ssh.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/check_by_ssh.c')
-rw-r--r--plugins/check_by_ssh.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/check_by_ssh.c b/plugins/check_by_ssh.c
index f31c9c61..2ceee28f 100644
--- a/plugins/check_by_ssh.c
+++ b/plugins/check_by_ssh.c
@@ -213,9 +213,7 @@ process_arguments (int argc, char **argv)
213 213
214 switch (c) { 214 switch (c) {
215 case '?': /* help */ 215 case '?': /* help */
216 printf (_("%s: Unknown argument: %s\n\n"), progname, optarg); 216 usage2 (_("Unknown argument"), optarg);
217 print_usage ();
218 exit (STATE_UNKNOWN);
219 case 'V': /* version */ 217 case 'V': /* version */
220 print_revision (progname, revision); 218 print_revision (progname, revision);
221 exit (STATE_OK); 219 exit (STATE_OK);