From: Nicki Křížek Date: Thu, 3 Apr 2025 13:30:31 +0000 (+0200) Subject: Fix rndc reset-stats documentation X-Git-Tag: v9.21.7~1^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=22bd41e30803fa3417a4845ee74d4c2724b99b46;p=thirdparty%2Fbind9.git Fix rndc reset-stats documentation Reformat the section to be more consistent with the rest of the rndc documentation and avoid using :program: directive which would needlessly break rst links. --- diff --git a/bin/rndc/rndc.rst b/bin/rndc/rndc.rst index 3796223e6c7..9eb39e1254c 100644 --- a/bin/rndc/rndc.rst +++ b/bin/rndc/rndc.rst @@ -471,18 +471,15 @@ Currently supported commands are: If a zone is specified, this command reloads only the given zone. If no zone is specified, the reloading happens asynchronously. -.. option:: reset-stats +.. program:: rndc - This command resets the requested statistics counters. +.. option:: reset-stats - .. program:: rndc reset-stats - .. option:: counter-name ... + This command resets the requested statistics counters. At least one counter name must be provided. Currently the following counters are supported: ``recursive-high-water``, ``tcp-high-water``. -.. program:: rndc - .. option:: responselog [on | off] This command enables or disables response logging. For backward compatibility,