summaryrefslogtreecommitdiffstats
path: root/plugins/check_tcp.c
diff options
context:
space:
mode:
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 39f9022..12fa404 100644
--- a/plugins/check_tcp.c
+++ b/plugins/check_tcp.c
@@ -98,9 +98,9 @@ print_usage (void)
98{ 98{
99 printf (_("\ 99 printf (_("\
100Usage: %s -H host -p port [-w <warning time>] [-c <critical time>]\n\ 100Usage: %s -H host -p port [-w <warning time>] [-c <critical time>]\n\
101 [-s <send string>] [-e <expect string>] [-q <quit string>]\n\ 101 [-s <send string>] [-e <expect string>] [-q <quit string>]\n\
102 [-m <maximum bytes>] [-d <delay>] [-t <timeout seconds>]\n\ 102 [-m <maximum bytes>] [-d <delay>] [-t <timeout seconds>]\n\
103 [-r <refuse state>] [-v] [-4|-6]\n"), progname); 103 [-r <refuse state>] [-v] [-4|-6]\n"), progname);
104 printf (" %s (-h|--help)\n", progname); 104 printf (" %s (-h|--help)\n", progname);
105 printf (" %s (-V|--version)\n", progname); 105 printf (" %s (-V|--version)\n", progname);
106} 106}
@@ -116,11 +116,11 @@ print_help (void)
116 116
117 print_usage (); 117 print_usage ();
118 118
119 printf (_(HELP_VRSN)); 119 printf (_(UT_HELP_VRSN));
120 120
121 printf (_(HOST_PORT), 'p', "none"); 121 printf (_(UT_HOST_PORT), 'p', "none");
122 122
123 printf (_(IPv46)); 123 printf (_(UT_IPv46));
124 124
125 printf (_("\ 125 printf (_("\
126 -s, --send=STRING\n\ 126 -s, --send=STRING\n\
@@ -138,9 +138,11 @@ print_help (void)
138 -d, --delay=INTEGER\n\ 138 -d, --delay=INTEGER\n\
139 Seconds to wait between sending string and polling for response\n")); 139 Seconds to wait between sending string and polling for response\n"));
140 140
141 printf (_(WARN_CRIT_TO), DEFAULT_SOCKET_TIMEOUT); 141 printf (_(UT_WARN_CRIT));
142 142
143 printf (_(VRBS)); 143 printf (_(UT_TIMEOUT), DEFAULT_SOCKET_TIMEOUT);
144
145 printf (_(UT_VERBOSE));
144 146
145 support (); 147 support ();
146} 148}