summaryrefslogtreecommitdiffstats
path: root/plugins/check_dns.c
diff options
context:
space:
mode:
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 3b94a7a..081741a 100644
--- a/plugins/check_dns.c
+++ b/plugins/check_dns.c
@@ -398,15 +398,16 @@ print_help (void)
398 printf ("Copyright (c) 1999 Ethan Galstad <nagios@nagios.org>\n"); 398 printf ("Copyright (c) 1999 Ethan Galstad <nagios@nagios.org>\n");
399 printf (COPYRIGHT, copyright, email); 399 printf (COPYRIGHT, copyright, email);
400 400
401 printf (_("This plugin uses the nslookup program to obtain the IP address for the given host/domain query.")); 401 printf ("%s\n", _("This plugin uses the nslookup program to obtain the IP address for the given host/domain query."));
402 printf ("\n"); 402 printf ("%s\n", _("An optional DNS server to use may be specified."));
403 printf (_("An optional DNS server to use may be specified.")); 403 printf ("%s\n", _("If no DNS server is specified, the default server(s) specified in /etc/resolv.conf will be used."));
404 printf ("\n"); 404
405 printf (_("If no DNS server is specified, the default server(s) specified in /etc/resolv.conf will be used."));
406 printf ("\n\n"); 405 printf ("\n\n");
407 406
408 print_usage (); 407 print_usage ();
408
409 printf (_(UT_HELP_VRSN)); 409 printf (_(UT_HELP_VRSN));
410
410 printf (" -H, --hostname=HOST\n"); 411 printf (" -H, --hostname=HOST\n");
411 printf (" %s\n", _("The name or address you want to query")); 412 printf (" %s\n", _("The name or address you want to query"));
412 printf (" -s, --server=HOST\n"); 413 printf (" -s, --server=HOST\n");
@@ -429,6 +430,5 @@ void
429print_usage (void) 430print_usage (void)
430{ 431{
431 printf (_("Usage:")); 432 printf (_("Usage:"));
432
433 printf ("%s -H host [-s server] [-a expected-address] [-A] [-t timeout] [-w warn] [-c crit]\n", progname); 433 printf ("%s -H host [-s server] [-a expected-address] [-A] [-t timeout] [-w warn] [-c crit]\n", progname);
434} 434}