From aef8e0b3ce12aa81e4a2e2dfe67df1003ef3a718 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Tue, 14 Oct 2008 00:54:40 +0000 Subject: [PATCH] 2462. [doc] Document -m (enable memory usage debugging) option for dig. [RT #18757] --- CHANGES | 3 +++ bin/dig/dig.c | 3 ++- bin/dig/dig.docbook | 9 ++++++++- 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/CHANGES b/CHANGES index 616ade98b4..1a3f440943 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,6 @@ +2462. [doc] Document -m (enable memory usage debugging) + option for dig. [RT #18757] + 2461. [port] sunos: Change #2363 was not complete. [RT #17513] 2458. [doc] ARM: update and correction for max-cache-size. diff --git a/bin/dig/dig.c b/bin/dig/dig.c index 83333d86f0..0b840ec89c 100644 --- a/bin/dig/dig.c +++ b/bin/dig/dig.c @@ -15,7 +15,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: dig.c,v 1.186.18.31 2008/02/05 23:46:09 tbox Exp $ */ +/* $Id: dig.c,v 1.186.18.32 2008/10/14 00:54:40 marka Exp $ */ /*! \file */ @@ -156,6 +156,7 @@ help(void) { " -y [hmac:]name:key (specify named base64 tsig key)\n" " -4 (use IPv4 query transport only)\n" " -6 (use IPv6 query transport only)\n" +" -m (enable memory usage debugging)\n" " d-opt is of the form +keyword[=value], where keyword is:\n" " +[no]vc (TCP mode)\n" " +[no]tcp (TCP mode, alternate syntax)\n" diff --git a/bin/dig/dig.docbook b/bin/dig/dig.docbook index cbb24e1bcc..92be18050c 100644 --- a/bin/dig/dig.docbook +++ b/bin/dig/dig.docbook @@ -18,7 +18,7 @@ - PERFORMANCE OF THIS SOFTWARE. --> - + @@ -62,6 +62,7 @@ + @@ -231,6 +232,12 @@ dig using the command-line interface. + + The option enables memory usage debugging. + + + If a non-standard port number is to be queried, the option is used. port# is