Hello,

Within management.txt, proxy was listed as the only available option. "dns"
is now supported so let's add that. This change also updates the command to list the available options <dns|proxy> for "domain" as previously it only specified
<domain>, which could be confusing as a user may think this field accepts
dynamic options when it actually requires a specific keyword.


Thanks,

-- Daniel

>From 2107724812463093fbcee23d669dd86d3949aa28 Mon Sep 17 00:00:00 2001
From: Daniel Corbett <dcorb...@haproxy.com>
Date: Sun, 1 Nov 2020 10:54:17 -0500
Subject: [PATCH] DOC: Add dns as an available domain to show stat

Within management.txt, proxy was listed as the only available option. "dns"
is now supported so let's add that. This change also updates the command to list
the available options <dns|proxy> for "domain" as previously it only specified
<domain>, which could be confusing as a user may think this field accepts
dynamic options when it actually requires a specific keyword.
---
 doc/management.txt | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/doc/management.txt b/doc/management.txt
index 308e725d4..1ca5f7bef 100644
--- a/doc/management.txt
+++ b/doc/management.txt
@@ -2438,10 +2438,10 @@ show sess <id>
   The special id "all" dumps the states of all sessions, which must be avoided
   as much as possible as it is highly CPU intensive and can take a lot of time.
 
-show stat [domain <domain>] [{<iid>|<proxy>} <type> <sid>] [typed|json] \
+show stat [domain <dns|proxy>] [{<iid>|<proxy>} <type> <sid>] [typed|json] \
           [desc] [up|no-maint]
-  Dump statistics. The domain is used to select which statistics to print; only
-  proxy is available for now. By default, the CSV format is used; you can
+  Dump statistics. The domain is used to select which statistics to print; dns
+  and proxy are available for now. By default, the CSV format is used; you can
   activate the extended typed output format described in the section above if
   "typed" is passed after the other arguments; or in JSON if "json" is passed
   after the other arguments. By passing <id>, <type> and <sid>, it is possible
-- 
2.17.1

Reply via email to