2477 [bug] dig: the global option to print the command line is

+cmd not print_cmd.  Update the output to reflect
                        this. [RT #17008]
This commit is contained in:
Mark Andrews 2008-10-28 03:32:59 +00:00
parent ccc383f3a7
commit a21884ae7b
2 changed files with 8 additions and 4 deletions

View file

@ -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]

View file

@ -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;