diff options
Diffstat (limited to 'plugins/check_dig.c')
| -rw-r--r-- | plugins/check_dig.c | 37 | 
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) | |||
| 302 | 302 | ||
| 303 | printf (_(UT_HOST_PORT), 'P', myport); | 303 | printf (_(UT_HOST_PORT), 'P', myport); | 
| 304 | 304 | ||
| 305 | printf ("-l, --lookup=STRING"); | 305 | printf (" %s\n","-l, --lookup=STRING"); | 
| 306 | 306 | printf (" %s\n",_("machine name to lookup")); | |
| 307 | printf ("\n"); | 307 | printf (" %s\n","-T, --record_type=STRING"); | 
| 308 | 308 | printf (" %s\n",_("record type to lookup (default: A)")); | |
| 309 | printf (_("machine name to lookup")); | 309 | printf (" %s\n","-a, --expected_address=STRING"); | 
| 310 | 310 | printf (" %s\n",_("an address expected to be in the answer section.if not set, uses whatever was in -l")); | |
| 311 | printf ("\n"); | ||
| 312 | |||
| 313 | printf ("-T, --record_type=STRING"); | ||
| 314 | |||
| 315 | printf ("\n"); | ||
| 316 | |||
| 317 | printf (_("record type to lookup (default: A)")); | ||
| 318 | |||
| 319 | printf ("\n"); | ||
| 320 | |||
| 321 | printf ("-a, --expected_address=STRING"); | ||
| 322 | |||
| 323 | printf ("\n"); | ||
| 324 | |||
| 325 | printf (_("an address expected to be in the answer section.if not set, uses whatever was in -l")); | ||
| 326 | |||
| 327 | printf ("\n"); | ||
| 328 | |||
| 329 | printf (_(UT_WARN_CRIT)); | 311 | printf (_(UT_WARN_CRIT)); | 
| 330 | |||
| 331 | printf (_(UT_TIMEOUT), DEFAULT_SOCKET_TIMEOUT); | 312 | printf (_(UT_TIMEOUT), DEFAULT_SOCKET_TIMEOUT); | 
| 332 | |||
| 333 | printf (_(UT_VERBOSE)); | 313 | printf (_(UT_VERBOSE)); | 
| 334 | |||
| 335 | printf (_(UT_SUPPORT)); | 314 | printf (_(UT_SUPPORT)); | 
| 336 | } | 315 | } | 
| 337 | 316 | ||
| @@ -342,6 +321,6 @@ print_usage (void) | |||
| 342 | { | 321 | { | 
| 343 | printf (_("Usage:")); | 322 | printf (_("Usage:")); | 
| 344 | printf ("%s -H host -l lookup [-p <server port>] [-T <query type>]", progname); | 323 | printf ("%s -H host -l lookup [-p <server port>] [-T <query type>]", progname); | 
| 345 | printf (" [-w <warning interval>] [-c <critical interval>] [-t <timeout>]"); | 324 | printf (" [-w <warning interval>] [-c <critical interval>] [-t <timeout>]"); | 
| 346 | printf (" [-a <expected answer address>] [-v]\n"); | 325 | printf (" [-a <expected answer address>] [-v]\n"); | 
| 347 | } | 326 | } | 
