diff options
Diffstat (limited to 'plugins/check_ping.c')
-rw-r--r-- | plugins/check_ping.c | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/plugins/check_ping.c b/plugins/check_ping.c index 132453d..c04fb02 100644 --- a/plugins/check_ping.c +++ b/plugins/check_ping.c | |||
@@ -485,17 +485,6 @@ error_scan (char buf[MAX_INPUT_BUFFER], const char *addr) | |||
485 | 485 | ||
486 | 486 | ||
487 | void | 487 | void |
488 | print_usage (void) | ||
489 | { | ||
490 | printf (\ | ||
491 | "Usage: %s -H <host_address> -w <wrta>,<wpl>%% -c <crta>,<cpl>%%\n\ | ||
492 | [-p packets] [-t timeout] [-L] [-4|-6]\n", progname); | ||
493 | printf (_(UT_HLP_VRS), progname, progname); | ||
494 | } | ||
495 | |||
496 | |||
497 | |||
498 | void | ||
499 | print_help (void) | 488 | print_help (void) |
500 | { | 489 | { |
501 | print_revision (progname, revision); | 490 | print_revision (progname, revision); |
@@ -539,3 +528,12 @@ the contrib area of the downloads section at http://www.nagios.org\n\n")); | |||
539 | 528 | ||
540 | printf (_(UT_SUPPORT)); | 529 | printf (_(UT_SUPPORT)); |
541 | } | 530 | } |
531 | |||
532 | void | ||
533 | print_usage (void) | ||
534 | { | ||
535 | printf ("Usage: %s -H <host_address> -w <wrta>,<wpl>%% -c <crta>,<cpl>%%\n\ | ||
536 | [-p packets] [-t timeout] [-L] [-4|-6]\n", progname); | ||
537 | |||
538 | printf (UT_HLP_VRS, progname, progname); | ||
539 | } | ||