From b07cec408f61acd3c34ad1c03b212bba9b66c454 Mon Sep 17 00:00:00 2001 From: Karl DeBisschop Date: Sat, 2 Aug 2003 16:42:57 +0000 Subject: 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 --- plugins/check_tcp.c | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'plugins/check_tcp.c') 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 ] [-c ]\n\ - [-s ] [-e ] [-q ]\n\ - [-m ] [-d ] [-t ]\n\ - [-r ] [-v] [-4|-6]\n"), progname); + [-s ] [-e ] [-q ]\n\ + [-m ] [-d ] [-t ]\n\ + [-r ] [-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 (); } -- cgit v1.2.3