Code

Changed usage output to show -4 and -6 are mutually exclusive. You can only
[nagiosplug.git] / plugins / check_tcp.c
index 0f19c01e87b83d61a22b1e4a06c0ab504a5de4f1..b8af1a1d8699a5a47737be484bd4886a4a6167c7 100644 (file)
@@ -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\