diff options
author | Ton Voon <tonvoon@users.sourceforge.net> | 2007-03-11 01:57:52 (GMT) |
---|---|---|
committer | Ton Voon <tonvoon@users.sourceforge.net> | 2007-03-11 01:57:52 (GMT) |
commit | c40118ace3596de327633e2f95782194a8c50751 (patch) | |
tree | 586207e5119af651bed1db1446eff6ca778bd7da | |
parent | 08f4f7c8b86cf21fce34ff4aeace71e4b937a4db (diff) | |
download | monitoring-plugins-c40118ace3596de327633e2f95782194a8c50751.tar.gz |
Fixed some help display. Removed -L from usage as deprecated option
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1636 f882894a-f735-0410-b71e-b25c423dba1c
-rw-r--r-- | plugins/check_ping.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/check_ping.c b/plugins/check_ping.c index aa686a6..9ddc252 100644 --- a/plugins/check_ping.c +++ b/plugins/check_ping.c | |||
@@ -563,14 +563,14 @@ print_help (void) | |||
563 | printf (" %s\n", "-c, --critical=THRESHOLD"); | 563 | printf (" %s\n", "-c, --critical=THRESHOLD"); |
564 | printf (" %s\n", _("critical threshold pair")); | 564 | printf (" %s\n", _("critical threshold pair")); |
565 | printf (" %s\n", "-p, --packets=INTEGER"); | 565 | printf (" %s\n", "-p, --packets=INTEGER"); |
566 | printf (" %s\n", _("number of ICMP ECHO packets to send")); | 566 | printf (" %s ", _("number of ICMP ECHO packets to send")); |
567 | printf (_("(Default: %d)"), DEFAULT_MAX_PACKETS); | 567 | printf (_("(Default: %d)\n"), DEFAULT_MAX_PACKETS); |
568 | printf (" %s\n", "-L, --link"); | 568 | printf (" %s\n", "-L, --link"); |
569 | printf (" %s\n", _("show HTML in the plugin output (obsoleted by urlize)")); | 569 | printf (" %s\n", _("show HTML in the plugin output (obsoleted by urlize)")); |
570 | 570 | ||
571 | printf (_(UT_TIMEOUT), DEFAULT_SOCKET_TIMEOUT); | 571 | printf (_(UT_TIMEOUT), DEFAULT_SOCKET_TIMEOUT); |
572 | 572 | ||
573 | printf ("%s\n", _("THRESHOLD is <rta>,<pl>%% where <rta> is the round trip average travel")); | 573 | printf ("%s\n", _("THRESHOLD is <rta>,<pl>% where <rta> is the round trip average travel")); |
574 | printf ("%s\n", _("time (ms) which triggers a WARNING or CRITICAL state, and <pl> is the")); | 574 | printf ("%s\n", _("time (ms) which triggers a WARNING or CRITICAL state, and <pl> is the")); |
575 | printf ("%s\n", _("percentage of packet loss to trigger an alarm state.")); | 575 | printf ("%s\n", _("percentage of packet loss to trigger an alarm state.")); |
576 | 576 | ||
@@ -591,5 +591,5 @@ print_usage (void) | |||
591 | { | 591 | { |
592 | printf (_("Usage:")); | 592 | printf (_("Usage:")); |
593 | printf ("%s -H <host_address> -w <wrta>,<wpl>%% -c <crta>,<cpl>%%\n", progname); | 593 | printf ("%s -H <host_address> -w <wrta>,<wpl>%% -c <crta>,<cpl>%%\n", progname); |
594 | printf (" [-p packets] [-t timeout] [-L] [-4|-6]\n"); | 594 | printf (" [-p packets] [-t timeout] [-4|-6]\n"); |
595 | } | 595 | } |