summaryrefslogtreecommitdiffstats
path: root/plugins/check_tcp.c
diff options
context:
space:
mode:
authorBenoit Mortier <opensides@users.sourceforge.net>2004-12-03 23:02:04 +0000
committerBenoit Mortier <opensides@users.sourceforge.net>2004-12-03 23:02:04 +0000
commit5e3fc41c6143676cf01b7aad789fc5f2cae5ce84 (patch)
treec6a4be653d48aab261ad1496f9b83f6f17c491e1 /plugins/check_tcp.c
parentc6a18d714a1ee49c62eb3b53ebff41ecadf3b7c2 (diff)
downloadmonitoring-plugins-5e3fc41c6143676cf01b7aad789fc5f2cae5ce84.tar.gz
print_help and print_usage() cleanup
other misc cleanups git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@996 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_tcp.c')
-rw-r--r--plugins/check_tcp.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/check_tcp.c b/plugins/check_tcp.c
index b2066c7a..93ba3446 100644
--- a/plugins/check_tcp.c
+++ b/plugins/check_tcp.c
@@ -739,8 +739,8 @@ print_help (void)
739{ 739{
740 print_revision (progname, revision); 740 print_revision (progname, revision);
741 741
742 printf (_("Copyright (c) 1999 Ethan Galstad <nagios@nagios.org>\n")); 742 printf ("Copyright (c) 1999 Ethan Galstad <nagios@nagios.org>\n"));
743 printf (_(COPYRIGHT), copyright, email); 743 printf (COPYRIGHT, copyright, email);
744 744
745 printf (_("This plugin tests %s connections with the specified host.\n\n"), 745 printf (_("This plugin tests %s connections with the specified host.\n\n"),
746 SERVICE); 746 SERVICE);
@@ -795,8 +795,8 @@ print_usage (void)
795{ 795{
796 printf ("\ 796 printf ("\
797Usage: %s -H host -p port [-w <warning time>] [-c <critical time>]\n\ 797Usage: %s -H host -p port [-w <warning time>] [-c <critical time>]\n\
798 [-s <send string>] [-e <expect string>] [-q <quit string>]\n\ 798 [-s <send string>] [-e <expect string>] [-q <quit string>]\n\
799 [-m <maximum bytes>] [-d <delay>] [-t <timeout seconds>]\n\ 799 [-m <maximum bytes>] [-d <delay>] [-t <timeout seconds>]\n\
800 [-r <refuse state>] [-v] [-4|-6] [-j] [-D <days to cert expiry>]\n\ 800 [-r <refuse state>] [-v] [-4|-6] [-j] [-D <days to cert expiry>]\n\
801 [-S <use SSL>]\n", progname); 801 [-S <use SSL>]\n", progname);
802} 802}