From 22bd41e30803fa3417a4845ee74d4c2724b99b46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicki=20K=C5=99=C3=AD=C5=BEek?= Date: Thu, 3 Apr 2025 15:30:31 +0200 Subject: [PATCH] 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. --- bin/rndc/rndc.rst | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/bin/rndc/rndc.rst b/bin/rndc/rndc.rst index 3796223e6c..9eb39e1254 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 + +.. option:: reset-stats This command resets the requested statistics counters. - .. program:: rndc reset-stats - .. option:: counter-name ... - 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,