[Nagiosplug-checkins] nagiosplug/plugins check_ping.c,1.58,1.59
Ton Voon
tonvoon at users.sourceforge.net
Sun Mar 11 02:57:54 CET 2007
Update of /cvsroot/nagiosplug/nagiosplug/plugins
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv17999
Modified Files:
check_ping.c
Log Message:
Fixed some help display. Removed -L from usage as deprecated option
Index: check_ping.c
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins/check_ping.c,v
retrieving revision 1.58
retrieving revision 1.59
diff -u -d -r1.58 -r1.59
--- check_ping.c 28 Jan 2007 21:46:40 -0000 1.58
+++ check_ping.c 11 Mar 2007 01:57:52 -0000 1.59
@@ -563,14 +563,14 @@
printf (" %s\n", "-c, --critical=THRESHOLD");
printf (" %s\n", _("critical threshold pair"));
printf (" %s\n", "-p, --packets=INTEGER");
- printf (" %s\n", _("number of ICMP ECHO packets to send"));
- printf (_("(Default: %d)"), DEFAULT_MAX_PACKETS);
+ printf (" %s ", _("number of ICMP ECHO packets to send"));
+ printf (_("(Default: %d)\n"), DEFAULT_MAX_PACKETS);
printf (" %s\n", "-L, --link");
printf (" %s\n", _("show HTML in the plugin output (obsoleted by urlize)"));
printf (_(UT_TIMEOUT), DEFAULT_SOCKET_TIMEOUT);
- printf ("%s\n", _("THRESHOLD is <rta>,<pl>%% where <rta> is the round trip average travel"));
+ printf ("%s\n", _("THRESHOLD is <rta>,<pl>% where <rta> is the round trip average travel"));
printf ("%s\n", _("time (ms) which triggers a WARNING or CRITICAL state, and <pl> is the"));
printf ("%s\n", _("percentage of packet loss to trigger an alarm state."));
@@ -591,5 +591,5 @@
{
printf (_("Usage:"));
printf ("%s -H <host_address> -w <wrta>,<wpl>%% -c <crta>,<cpl>%%\n", progname);
- printf (" [-p packets] [-t timeout] [-L] [-4|-6]\n");
+ printf (" [-p packets] [-t timeout] [-4|-6]\n");
}
More information about the Commits
mailing list