mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-05-28 04:35:40 -04:00
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
This commit is contained in:
parent
825a7322b1
commit
58f124b803
2 changed files with 2 additions and 2 deletions
|
|
@ -19,7 +19,7 @@ const char *progname = "check_ping";
|
|||
|
||||
#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\
|
||||
|
|
|
|||
|
|
@ -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\
|
||||
|
|
|
|||
Loading…
Reference in a new issue