From: Nicki Křížek Date: Thu, 3 Apr 2025 13:30:31 +0000 (+0200) Subject: Fix rndc reset-stats documentation X-Git-Tag: v9.20.8~1^2~2 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=a26a55d05e342b6b29ed634099fca0d789302a49;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. (cherry picked from commit 22bd41e30803fa3417a4845ee74d4c2724b99b46) --- diff --git a/bin/rndc/rndc.rst b/bin/rndc/rndc.rst index 0c176d8d0f1..0cb54dce7e4 100644 --- a/bin/rndc/rndc.rst +++ b/bin/rndc/rndc.rst @@ -460,18 +460,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,