aboutsummaryrefslogtreecommitdiff
path: root/plugins/check_tcp.c
diff options
context:
space:
mode:
authorGravatar Karl DeBisschop <kdebisschop@users.sourceforge.net> 2003-08-02 16:42:57 +0000
committerGravatar Karl DeBisschop <kdebisschop@users.sourceforge.net> 2003-08-02 16:42:57 +0000
commitb07cec408f61acd3c34ad1c03b212bba9b66c454 (patch)
tree4a906eebd467e2d71687e57205d07368f2adcc1b /plugins/check_tcp.c
parentf4e6b2a946c087c096e38415210219fe1c870822 (diff)
downloadmonitoring-plugins-b07cec408f61acd3c34ad1c03b212bba9b66c454.tar.gz
establish "UT_" namespace for usage text in #defines
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@631 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_tcp.c')
-rw-r--r--plugins/check_tcp.c18
1 files changed, 10 insertions, 8 deletions
diff --git a/plugins/check_tcp.c b/plugins/check_tcp.c
index 39f90222..12fa4047 100644
--- a/plugins/check_tcp.c
+++ b/plugins/check_tcp.c
@@ -98,9 +98,9 @@ print_usage (void)
{
printf (_("\
Usage: %s -H host -p port [-w <warning time>] [-c <critical time>]\n\
- [-s <send string>] [-e <expect string>] [-q <quit string>]\n\
- [-m <maximum bytes>] [-d <delay>] [-t <timeout seconds>]\n\
- [-r <refuse state>] [-v] [-4|-6]\n"), progname);
+ [-s <send string>] [-e <expect string>] [-q <quit string>]\n\
+ [-m <maximum bytes>] [-d <delay>] [-t <timeout seconds>]\n\
+ [-r <refuse state>] [-v] [-4|-6]\n"), progname);
printf (" %s (-h|--help)\n", progname);
printf (" %s (-V|--version)\n", progname);
}
@@ -116,11 +116,11 @@ print_help (void)
print_usage ();
- printf (_(HELP_VRSN));
+ printf (_(UT_HELP_VRSN));
- printf (_(HOST_PORT), 'p', "none");
+ printf (_(UT_HOST_PORT), 'p', "none");
- printf (_(IPv46));
+ printf (_(UT_IPv46));
printf (_("\
-s, --send=STRING\n\
@@ -138,9 +138,11 @@ print_help (void)
-d, --delay=INTEGER\n\
Seconds to wait between sending string and polling for response\n"));
- printf (_(WARN_CRIT_TO), DEFAULT_SOCKET_TIMEOUT);
+ printf (_(UT_WARN_CRIT));
- printf (_(VRBS));
+ printf (_(UT_TIMEOUT), DEFAULT_SOCKET_TIMEOUT);
+
+ printf (_(UT_VERBOSE));
support ();
}