]> 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 13:30:31 +0000 (15:30 +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.

bin/rndc/rndc.rst

index 3796223e6c74d270769f3b1d1efc0adb57472f36..9eb39e1254c6d1abd8a420cb2a4fa0e95e9c629c 100644 (file)
@@ -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 <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,