From 58f124b80330917c003e24b35748d4ef7cb38056 Mon Sep 17 00:00:00 2001 From: "Jeremy T. Bouse" Date: Sun, 29 Jun 2003 19:22:26 +0000 Subject: [PATCH] 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 --- plugins/check_ping.c | 2 +- plugins/check_tcp.c | 2 +- 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"; #define OPTIONS "\ -H -w ,%% -c ,%%\n\ - [-p packets] [-t timeout] [-L] [-4] [-6]\n" + [-p packets] [-t timeout] [-L] [-4|-6]\n" #define LONGOPTIONS "\ -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"; const char *option_summary = "\ -H host -p port [-w warn_time] [-c crit_time] [-s send_string]\n\ [-e expect_string] [-q quit_string] [-m maxbytes] [-d delay]\n\ - [-t to_sec] [-r refuse_state] [-v] [-4] [-6]\n"; + [-t to_sec] [-r refuse_state] [-v] [-4|-6]\n"; const char *options = "\ -H, --hostname=ADDRESS\n\ -- 2.30.2