From a21884ae7bec40b6fc2227ff112ecf5a7cffc4fd Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Tue, 28 Oct 2008 03:32:59 +0000 Subject: [PATCH] 2477 [bug] dig: the global option to print the command line is +cmd not print_cmd. Update the output to reflect this. [RT #17008] --- CHANGES | 4 ++++ bin/dig/dig.c | 8 ++++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/CHANGES b/CHANGES index ec17bf0782..939a31b405 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,7 @@ +2477 [bug] dig: the global option to print the command line is + +cmd not print_cmd. Update the output to reflect + this. [RT #17008] + 2476. [doc] ARM: improve documentation for max-journal-size and ixfr-from-differences. [RT #15909] [RT #18541] diff --git a/bin/dig/dig.c b/bin/dig/dig.c index 236603ae50..1b3d127796 100644 --- a/bin/dig/dig.c +++ b/bin/dig/dig.c @@ -15,7 +15,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: dig.c,v 1.223 2008/10/15 02:16:51 marka Exp $ */ +/* $Id: dig.c,v 1.224 2008/10/28 03:32:59 marka Exp $ */ /*! \file */ @@ -641,9 +641,9 @@ printgreeting(int argc, char **argv, dig_lookup_t *lookup) { } if (first) { snprintf(append, sizeof(append), - ";; global options: %s %s\n", - short_form ? "short_form" : "", - printcmd ? "printcmd" : ""); + ";; global options:%s%s\n", + short_form ? " +short" : "", + printcmd ? " +cmd" : ""); first = ISC_FALSE; remaining = sizeof(lookup->cmdline) - strlen(lookup->cmdline) - 1;