summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 825a732)
raw | patch | inline | side by side (parent: 825a732)
author | Jeremy T. Bouse <undrgrid@users.sourceforge.net> | |
Sun, 29 Jun 2003 19:22:26 +0000 (19:22 +0000) | ||
committer | Jeremy T. Bouse <undrgrid@users.sourceforge.net> | |
Sun, 29 Jun 2003 19:22:26 +0000 (19:22 +0000) |
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
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@570 f882894a-f735-0410-b71e-b25c423dba1c
plugins/check_ping.c | patch | blob | history | |
plugins/check_tcp.c | patch | blob | history |
diff --git a/plugins/check_ping.c b/plugins/check_ping.c
index ffe7a7d5fc7ed5efaed52bf42fa510acfad547c6..0b2afce56e235774142b315d232fd7569c66a77c 100644 (file)
--- a/plugins/check_ping.c
+++ b/plugins/check_ping.c
#define OPTIONS "\
-H <host_address> -w <wrta>,<wpl>%% -c <crta>,<cpl>%%\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 0f19c01e87b83d61a22b1e4a06c0ab504a5de4f1..b8af1a1d8699a5a47737be484bd4886a4a6167c7 100644 (file)
--- a/plugins/check_tcp.c
+++ b/plugins/check_tcp.c
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\