aboutsummaryrefslogtreecommitdiff
path: root/plugins/check_dig.c
diff options
context:
space:
mode:
authorGravatar Benoit Mortier <opensides@users.sourceforge.net> 2006-06-14 18:48:59 +0000
committerGravatar Benoit Mortier <opensides@users.sourceforge.net> 2006-06-14 18:48:59 +0000
commit704aa165c131bbcce3f347b3c3f3c04aebf7fbe3 (patch)
treeef7817ccd03e9faae0ff63404b03880966f30f5e /plugins/check_dig.c
parent3987202794f5b34c78aad3b4213c715ed76004eb (diff)
downloadmonitoring-plugins-704aa165c131bbcce3f347b3c3f3c04aebf7fbe3.tar.gz
starting the BIG locale update ;-)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1425 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_dig.c')
-rw-r--r--plugins/check_dig.c37
1 files changed, 8 insertions, 29 deletions
diff --git a/plugins/check_dig.c b/plugins/check_dig.c
index c9fce613..e2a66067 100644
--- a/plugins/check_dig.c
+++ b/plugins/check_dig.c
@@ -302,36 +302,15 @@ print_help (void)
printf (_(UT_HOST_PORT), 'P', myport);
- printf ("-l, --lookup=STRING");
-
- printf ("\n");
-
- printf (_("machine name to lookup"));
-
- printf ("\n");
-
- printf ("-T, --record_type=STRING");
-
- printf ("\n");
-
- printf (_("record type to lookup (default: A)"));
-
- printf ("\n");
-
- printf ("-a, --expected_address=STRING");
-
- printf ("\n");
-
- printf (_("an address expected to be in the answer section.if not set, uses whatever was in -l"));
-
- printf ("\n");
-
+ printf (" %s\n","-l, --lookup=STRING");
+ printf (" %s\n",_("machine name to lookup"));
+ printf (" %s\n","-T, --record_type=STRING");
+ printf (" %s\n",_("record type to lookup (default: A)"));
+ printf (" %s\n","-a, --expected_address=STRING");
+ printf (" %s\n",_("an address expected to be in the answer section.if not set, uses whatever was in -l"));
printf (_(UT_WARN_CRIT));
-
printf (_(UT_TIMEOUT), DEFAULT_SOCKET_TIMEOUT);
-
printf (_(UT_VERBOSE));
-
printf (_(UT_SUPPORT));
}
@@ -342,6 +321,6 @@ print_usage (void)
{
printf (_("Usage:"));
printf ("%s -H host -l lookup [-p <server port>] [-T <query type>]", progname);
- printf (" [-w <warning interval>] [-c <critical interval>] [-t <timeout>]");
- printf (" [-a <expected answer address>] [-v]\n");
+ printf (" [-w <warning interval>] [-c <critical interval>] [-t <timeout>]");
+ printf (" [-a <expected answer address>] [-v]\n");
}