From a414896ee9893f4b2deeea87c4072c6bb6bb4f47 Mon Sep 17 00:00:00 2001 From: Michael Sawyer Date: Mon, 19 Jun 2000 19:00:49 +0000 Subject: [PATCH] +ad/+noad option conflicting with +additional/+noadditional option --- bin/dig/dig.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/bin/dig/dig.c b/bin/dig/dig.c index 033dbc51fb..75a6d9d9cc 100644 --- a/bin/dig/dig.c +++ b/bin/dig/dig.c @@ -15,7 +15,7 @@ * SOFTWARE. */ -/* $Id: dig.c,v 1.44 2000/06/16 17:59:59 mws Exp $ */ +/* $Id: dig.c,v 1.45 2000/06/19 19:00:49 mws Exp $ */ #include @@ -165,8 +165,8 @@ show_usage(void) { " +[no]short (Disable everything except short\n" " form of answer)\n" " +qr (Print question before sending)\n" -" +[no]cd (Set or clear CD flag in query)\n" -" +[no]ad (Set or clear AD flag in query)\n" +" +[no]cdflag (Set or clear CD flag in query)\n" +" +[no]adflag (Set or clear AD flag in query)\n" " +[no]nssearch (Search all authorative nameservers)\n" " +[no]identify (ID responders in short answers)\n" " +[no]trace (Trace delegation down from root)\n" @@ -668,12 +668,12 @@ parse_args(isc_boolean_t is_batchfile, int argc, char **argv) { lookup->aaonly = ISC_FALSE; else aaonly = ISC_FALSE; - } else if (strncmp(rv[0], "+ad", 3) == 0) { + } else if (strncmp(rv[0], "+adf", 4) == 0) { if (have_host) lookup->adflag = ISC_TRUE; else adflag = ISC_TRUE; - } else if (strncmp(rv[0], "+noad", 5) == 0) { + } else if (strncmp(rv[0], "+noadf", 6) == 0) { if (have_host) lookup->adflag = ISC_FALSE; else