aboutsummaryrefslogtreecommitdiff
path: root/plugins/check_dns.c
diff options
context:
space:
mode:
authorGravatar Benoit Mortier <opensides@users.sourceforge.net> 2004-12-03 23:02:04 +0000
committerGravatar Benoit Mortier <opensides@users.sourceforge.net> 2004-12-03 23:02:04 +0000
commit5e3fc41c6143676cf01b7aad789fc5f2cae5ce84 (patch)
treec6a4be653d48aab261ad1496f9b83f6f17c491e1 /plugins/check_dns.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_dns.c')
-rw-r--r--plugins/check_dns.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/check_dns.c b/plugins/check_dns.c
index 492fa176..2a8f4592 100644
--- a/plugins/check_dns.c
+++ b/plugins/check_dns.c
@@ -395,6 +395,12 @@ print_help (void)
printf ("Copyright (c) 1999 Ethan Galstad <nagios@nagios.org>\n");
printf (COPYRIGHT, copyright, email);
+ printf (_("\
+This plugin uses the nslookup program to obtain the IP address\n\
+for the given host/domain query. A optional DNS server to use may\n\
+be specified. If no DNS server is specified, the default server(s)\n\
+specified in /etc/resolv.conf will be used.\n\n"));
+
print_usage ();
printf (_(UT_HELP_VRSN));
@@ -411,12 +417,6 @@ print_help (void)
printf (_(UT_TIMEOUT), DEFAULT_SOCKET_TIMEOUT);
- printf (_("\n\
-This plugin uses the nslookup program to obtain the IP address\n\
-for the given host/domain query. A optional DNS server to use may\n\
-be specified. If no DNS server is specified, the default server(s)\n\
-specified in /etc/resolv.conf will be used.\n"));
-
printf (_(UT_SUPPORT));
}