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_dns.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_dns.c')
-rw-r--r-- | plugins/check_dns.c | 12 |
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) | |||
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 (_("\ | ||
399 | This plugin uses the nslookup program to obtain the IP address\n\ | ||
400 | for the given host/domain query. A optional DNS server to use may\n\ | ||
401 | be specified. If no DNS server is specified, the default server(s)\n\ | ||
402 | specified 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\ | ||
415 | This plugin uses the nslookup program to obtain the IP address\n\ | ||
416 | for the given host/domain query. A optional DNS server to use may\n\ | ||
417 | be specified. If no DNS server is specified, the default server(s)\n\ | ||
418 | specified in /etc/resolv.conf will be used.\n")); | ||
419 | |||
420 | printf (_(UT_SUPPORT)); | 420 | printf (_(UT_SUPPORT)); |
421 | } | 421 | } |
422 | 422 | ||