summaryrefslogtreecommitdiffstats
path: root/plugins/check_dns.c
diff options
context:
space:
mode:
authorBenoit Mortier <opensides@users.sourceforge.net>2004-12-03 23:02:04 (GMT)
committerBenoit Mortier <opensides@users.sourceforge.net>2004-12-03 23:02:04 (GMT)
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 492fa17..2a8f459 100644
--- a/plugins/check_dns.c
+++ b/plugins/check_dns.c
@@ -395,6 +395,12 @@ print_help (void)
395 printf ("Copyright (c) 1999 Ethan Galstad <nagios@nagios.org>\n"); 395 printf ("Copyright (c) 1999 Ethan Galstad <nagios@nagios.org>\n");
396 printf (COPYRIGHT, copyright, email); 396 printf (COPYRIGHT, copyright, email);
397 397
398 printf (_("\
399This plugin uses the nslookup program to obtain the IP address\n\
400for the given host/domain query. A optional DNS server to use may\n\
401be specified. If no DNS server is specified, the default server(s)\n\
402specified in /etc/resolv.conf will be used.\n\n"));
403
398 print_usage (); 404 print_usage ();
399 405
400 printf (_(UT_HELP_VRSN)); 406 printf (_(UT_HELP_VRSN));
@@ -411,12 +417,6 @@ print_help (void)
411 417
412 printf (_(UT_TIMEOUT), DEFAULT_SOCKET_TIMEOUT); 418 printf (_(UT_TIMEOUT), DEFAULT_SOCKET_TIMEOUT);
413 419
414 printf (_("\n\
415This plugin uses the nslookup program to obtain the IP address\n\
416for the given host/domain query. A optional DNS server to use may\n\
417be specified. If no DNS server is specified, the default server(s)\n\
418specified in /etc/resolv.conf will be used.\n"));
419
420 printf (_(UT_SUPPORT)); 420 printf (_(UT_SUPPORT));
421} 421}
422 422