diff options
author | Benoit Mortier <opensides@users.sourceforge.net> | 2004-12-03 23:02:04 +0000 |
---|---|---|
committer | Benoit Mortier <opensides@users.sourceforge.net> | 2004-12-03 23:02:04 +0000 |
commit | 5e3fc41c6143676cf01b7aad789fc5f2cae5ce84 (patch) | |
tree | c6a4be653d48aab261ad1496f9b83f6f17c491e1 /plugins/check_tcp.c | |
parent | c6a18d714a1ee49c62eb3b53ebff41ecadf3b7c2 (diff) | |
download | monitoring-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.c | 12 |
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 ("\ |
797 | Usage: %s -H host -p port [-w <warning time>] [-c <critical time>]\n\ | 797 | Usage: %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 | } |