From b2bfd4555a535ca0389ea3d89154ed1d27f1ac3b Mon Sep 17 00:00:00 2001 From: Benoit Mortier Date: Wed, 14 Jun 2006 21:27:38 +0000 Subject: updating the help and usage for localization git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1427 f882894a-f735-0410-b71e-b25c423dba1c --- plugins/check_dns.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'plugins/check_dns.c') diff --git a/plugins/check_dns.c b/plugins/check_dns.c index 3b94a7ab..081741ab 100644 --- a/plugins/check_dns.c +++ b/plugins/check_dns.c @@ -398,15 +398,16 @@ print_help (void) printf ("Copyright (c) 1999 Ethan Galstad \n"); printf (COPYRIGHT, copyright, email); - printf (_("This plugin uses the nslookup program to obtain the IP address for the given host/domain query.")); - printf ("\n"); - printf (_("An optional DNS server to use may be specified.")); - printf ("\n"); - printf (_("If no DNS server is specified, the default server(s) specified in /etc/resolv.conf will be used.")); + printf ("%s\n", _("This plugin uses the nslookup program to obtain the IP address for the given host/domain query.")); + printf ("%s\n", _("An optional DNS server to use may be specified.")); + printf ("%s\n", _("If no DNS server is specified, the default server(s) specified in /etc/resolv.conf will be used.")); + printf ("\n\n"); print_usage (); + printf (_(UT_HELP_VRSN)); + printf (" -H, --hostname=HOST\n"); printf (" %s\n", _("The name or address you want to query")); printf (" -s, --server=HOST\n"); @@ -429,6 +430,5 @@ void print_usage (void) { printf (_("Usage:")); - printf ("%s -H host [-s server] [-a expected-address] [-A] [-t timeout] [-w warn] [-c crit]\n", progname); } -- cgit v1.2.3