diff options
Diffstat (limited to 'plugins/check_by_ssh.c')
-rw-r--r-- | plugins/check_by_ssh.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/plugins/check_by_ssh.c b/plugins/check_by_ssh.c index 37874bf8..9def404d 100644 --- a/plugins/check_by_ssh.c +++ b/plugins/check_by_ssh.c | |||
@@ -76,6 +76,9 @@ main (int argc, char **argv) | |||
76 | bindtextdomain (PACKAGE, LOCALEDIR); | 76 | bindtextdomain (PACKAGE, LOCALEDIR); |
77 | textdomain (PACKAGE); | 77 | textdomain (PACKAGE); |
78 | 78 | ||
79 | /* Parse extra opts if any */ | ||
80 | argv=np_extra_opts (&argc, argv, progname); | ||
81 | |||
79 | /* process arguments */ | 82 | /* process arguments */ |
80 | if (process_arguments (argc, argv) == ERROR) | 83 | if (process_arguments (argc, argv) == ERROR) |
81 | usage_va(_("Could not parse arguments")); | 84 | usage_va(_("Could not parse arguments")); |
@@ -350,6 +353,8 @@ print_help (void) | |||
350 | 353 | ||
351 | printf (_(UT_HELP_VRSN)); | 354 | printf (_(UT_HELP_VRSN)); |
352 | 355 | ||
356 | printf (_(UT_EXTRA_OPTS)); | ||
357 | |||
353 | printf (_(UT_HOST_PORT), 'p', "none"); | 358 | printf (_(UT_HOST_PORT), 'p', "none"); |
354 | 359 | ||
355 | printf (_(UT_IPv46)); | 360 | printf (_(UT_IPv46)); |
@@ -402,6 +407,12 @@ print_help (void) | |||
402 | printf (" %s\n", "[1080933700] PROCESS_SERVICE_CHECK_RESULT;flint;c2;0; up 2 days"); | 407 | printf (" %s\n", "[1080933700] PROCESS_SERVICE_CHECK_RESULT;flint;c2;0; up 2 days"); |
403 | printf (" %s\n", "[1080933700] PROCESS_SERVICE_CHECK_RESULT;flint;c3;0; up 2 days"); | 408 | printf (" %s\n", "[1080933700] PROCESS_SERVICE_CHECK_RESULT;flint;c3;0; up 2 days"); |
404 | 409 | ||
410 | #ifdef NP_EXTRA_OPTS | ||
411 | printf("\n"); | ||
412 | printf("%s\n", _("Notes:")); | ||
413 | printf(_(UT_EXTRA_OPTS_NOTES)); | ||
414 | #endif | ||
415 | |||
405 | printf(_(UT_SUPPORT)); | 416 | printf(_(UT_SUPPORT)); |
406 | } | 417 | } |
407 | 418 | ||