summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorJeremy T. Bouse <undrgrid@users.sourceforge.net>2003-06-29 19:22:26 (GMT)
committerJeremy T. Bouse <undrgrid@users.sourceforge.net>2003-06-29 19:22:26 (GMT)
commit58f124b80330917c003e24b35748d4ef7cb38056 (patch)
tree5f7fdf8fc6c20ff7a433106e9219ee37b07ea5f5 /plugins
parent825a7322b131a16819b0cacccc186b86fffc57eb (diff)
downloadmonitoring-plugins-58f124b80330917c003e24b35748d4ef7cb38056.tar.gz
Changed usage output to show -4 and -6 are mutually exclusive. You can only
use one or the other but not both. The last one used will win out. git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@570 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins')
-rw-r--r--plugins/check_ping.c2
-rw-r--r--plugins/check_tcp.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/check_ping.c b/plugins/check_ping.c
index ffe7a7d..0b2afce 100644
--- a/plugins/check_ping.c
+++ b/plugins/check_ping.c
@@ -19,7 +19,7 @@ const char *progname = "check_ping";
19 19
20#define OPTIONS "\ 20#define OPTIONS "\
21-H <host_address> -w <wrta>,<wpl>%% -c <crta>,<cpl>%%\n\ 21-H <host_address> -w <wrta>,<wpl>%% -c <crta>,<cpl>%%\n\
22 [-p packets] [-t timeout] [-L] [-4] [-6]\n" 22 [-p packets] [-t timeout] [-L] [-4|-6]\n"
23 23
24#define LONGOPTIONS "\ 24#define LONGOPTIONS "\
25-H, --hostname=HOST\n\ 25-H, --hostname=HOST\n\
diff --git a/plugins/check_tcp.c b/plugins/check_tcp.c
index 0f19c01..b8af1a1 100644
--- a/plugins/check_tcp.c
+++ b/plugins/check_tcp.c
@@ -29,7 +29,7 @@ This plugin tests %s connections with the specified host.\n";
29const char *option_summary = "\ 29const char *option_summary = "\
30-H host -p port [-w warn_time] [-c crit_time] [-s send_string]\n\ 30-H host -p port [-w warn_time] [-c crit_time] [-s send_string]\n\
31 [-e expect_string] [-q quit_string] [-m maxbytes] [-d delay]\n\ 31 [-e expect_string] [-q quit_string] [-m maxbytes] [-d delay]\n\
32 [-t to_sec] [-r refuse_state] [-v] [-4] [-6]\n"; 32 [-t to_sec] [-r refuse_state] [-v] [-4|-6]\n";
33 33
34const char *options = "\ 34const char *options = "\
35 -H, --hostname=ADDRESS\n\ 35 -H, --hostname=ADDRESS\n\