diff options
Diffstat (limited to 'plugins/check_ping.c')
-rw-r--r-- | plugins/check_ping.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/plugins/check_ping.c b/plugins/check_ping.c index e22856d..0f3292d 100644 --- a/plugins/check_ping.c +++ b/plugins/check_ping.c | |||
@@ -92,6 +92,9 @@ main (int argc, char **argv) | |||
92 | addresses = malloc (sizeof(char*) * max_addr); | 92 | addresses = malloc (sizeof(char*) * max_addr); |
93 | addresses[0] = NULL; | 93 | addresses[0] = NULL; |
94 | 94 | ||
95 | /* Parse extra opts if any */ | ||
96 | argv=np_extra_opts (&argc, argv, progname); | ||
97 | |||
95 | if (process_arguments (argc, argv) == ERROR) | 98 | if (process_arguments (argc, argv) == ERROR) |
96 | usage4 (_("Could not parse arguments")); | 99 | usage4 (_("Could not parse arguments")); |
97 | 100 | ||
@@ -564,6 +567,7 @@ print_help (void) | |||
564 | print_usage (); | 567 | print_usage (); |
565 | 568 | ||
566 | printf (_(UT_HELP_VRSN)); | 569 | printf (_(UT_HELP_VRSN)); |
570 | printf (_(UT_EXTRA_OPTS)); | ||
567 | 571 | ||
568 | printf (_(UT_IPv46)); | 572 | printf (_(UT_IPv46)); |
569 | 573 | ||
@@ -592,6 +596,12 @@ print_help (void) | |||
592 | printf ("%s\n", _("linking to a traceroute CGI contributed by Ian Cass. The CGI can be found in")); | 596 | printf ("%s\n", _("linking to a traceroute CGI contributed by Ian Cass. The CGI can be found in")); |
593 | printf ("%s\n", _("the contrib area of the downloads section at http://www.nagios.org/")); | 597 | printf ("%s\n", _("the contrib area of the downloads section at http://www.nagios.org/")); |
594 | 598 | ||
599 | #ifdef NP_EXTRA_OPTS | ||
600 | printf ("\n"); | ||
601 | printf ("%s\n", _("Notes:")); | ||
602 | printf (_(UT_EXTRA_OPTS_NOTES)); | ||
603 | #endif | ||
604 | |||
595 | printf (_(UT_SUPPORT)); | 605 | printf (_(UT_SUPPORT)); |
596 | } | 606 | } |
597 | 607 | ||