summaryrefslogtreecommitdiffstats
path: root/plugins/check_dig.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/check_dig.c')
-rw-r--r--plugins/check_dig.c17
1 files changed, 9 insertions, 8 deletions
diff --git a/plugins/check_dig.c b/plugins/check_dig.c
index 286efbe..72dd599 100644
--- a/plugins/check_dig.c
+++ b/plugins/check_dig.c
@@ -319,14 +319,15 @@ print_help (void)
319 319
320 printf (_(UT_HOST_PORT), 'p', myport); 320 printf (_(UT_HOST_PORT), 'p', myport);
321 321
322 printf (" %s\n","-l, --lookup=STRING"); 322 printf (" %s\n","-l, --query_address=STRING");
323 printf (" %s\n",_("machine name to lookup")); 323 printf (" %s\n",_("Machine name to lookup"));
324 printf (" %s\n","-T, --record_type=STRING"); 324 printf (" %s\n","-T, --record_type=STRING");
325 printf (" %s\n",_("record type to lookup (default: A)")); 325 printf (" %s\n",_("Record type to lookup (default: A)"));
326 printf (" %s\n","-a, --expected_address=STRING"); 326 printf (" %s\n","-a, --expected_address=STRING");
327 printf (" %s\n",_("an address expected to be in the answer section.if not set, uses whatever was in -l")); 327 printf (" %s\n",_("An address expected to be in the answer section. If not set, uses whatever"));
328 printf (" %s\n",_("was in -l"));
328 printf (" %s\n","-A, --dig-arguments=STRING"); 329 printf (" %s\n","-A, --dig-arguments=STRING");
329 printf (" %s\n",_("pass STRING as argument(s) to dig")); 330 printf (" %s\n",_("Pass STRING as argument(s) to dig"));
330 printf (_(UT_WARN_CRIT)); 331 printf (_(UT_WARN_CRIT));
331 printf (_(UT_TIMEOUT), DEFAULT_SOCKET_TIMEOUT); 332 printf (_(UT_TIMEOUT), DEFAULT_SOCKET_TIMEOUT);
332 printf (_(UT_VERBOSE)); 333 printf (_(UT_VERBOSE));
@@ -342,7 +343,7 @@ void
342print_usage (void) 343print_usage (void)
343{ 344{
344 printf (_("Usage:")); 345 printf (_("Usage:"));
345 printf ("%s -H host -l lookup [-p <server port>] [-T <query type>]", progname); 346 printf ("%s -H <host> -l <query_address> [-p <server port>]\n", progname);
346 printf (" [-w <warning interval>] [-c <critical interval>] [-t <timeout>]"); 347 printf (" [-T <query type>] [-w <warning interval>] [-c <critical interval>]\n");
347 printf (" [-a <expected answer address>] [-v]\n"); 348 printf (" [-t <timeout>] [-a <expected answer address>] [-v]\n");
348} 349}