MINOR: cli: Dump all resolvers stats if no resolver section is given
This commit adds support for dumping all resolver stats. Specifically
if a command 'show stats resolvers' is issued withOUT a resolver section
id, we dump all known resolver sections. If none are configured, a
message is displayed indicating that.
diff --git a/doc/configuration.txt b/doc/configuration.txt
index be5b26c..6e9ed26 100644
--- a/doc/configuration.txt
+++ b/doc/configuration.txt
@@ -16025,8 +16025,10 @@
A similar empty line appears at the end of the second block (stats) so that
the reader knows the output has not been truncated.
-show stat resolvers <resolvers section id>
- Dump statistics for the given resolvers section.
+show stat resolvers [<resolvers section id>]
+ Dump statistics for the given resolvers section, or all resolvers sections
+ if no section is supplied.
+
For each name server, the following counters are reported:
sent: number of DNS requests sent to this server
valid: number of DNS valid responses received from this server