]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Fix rndc reset-stats documentation
authorNicki Křížek <nicki@isc.org>
Thu, 3 Apr 2025 13:30:31 +0000 (15:30 +0200)
committerNicki Křížek <nicki@isc.org>
Thu, 3 Apr 2025 14:19:12 +0000 (16:19 +0200)
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)

bin/rndc/rndc.rst

index 0c176d8d0f1b219ddb158e4cfc7cf005c25496a3..0cb54dce7e4ec2313b2a04499a082a176f62c297 100644 (file)
@@ -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 <counter-name ...>
 
-   .. 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,