From: Cyril Bonté Date: Fri, 6 May 2016 10:18:51 +0000 (+0200) Subject: MINOR: stats: show stat resolvers missing in the help message X-Git-Tag: v1.7-dev3~5 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a8322f96f12346a4ce9667e4398e2a49086aa2ee;p=thirdparty%2Fhaproxy.git MINOR: stats: show stat resolvers missing in the help message The help message provided by the "help" command on the unix socket didn't provide "show stat resolvers" in the list of supported commands. This patch should be backported to 1.6 --- diff --git a/src/dumpstats.c b/src/dumpstats.c index 182064a16a..19e26887eb 100644 --- a/src/dumpstats.c +++ b/src/dumpstats.c @@ -313,7 +313,7 @@ static int dump_servers_state(struct stream_interface *si, struct chunk *buf); * -> stats_dump_backend_to_buffer() // "show backend" * -> stats_dump_servers_state_to_buffer() // "show servers state []" * -> stats_dump_stat_to_buffer() // "show stat" - * -> stats_dump_resolvers_to_buffer() // "show stat resolver " + * -> stats_dump_resolvers_to_buffer() // "show stat resolvers " * -> stats_dump_csv_header() * -> stats_dump_proxy_to_buffer() * -> stats_dump_fe_stats() @@ -350,6 +350,8 @@ static const char stats_sock_usage_msg[] = " show info : report information about the running process\n" " show pools : report information about the memory pools usage\n" " show stat : report counters for each proxy and server\n" + " show stat resolvers [id]: dumps counters from all resolvers section and\n" + " associated name servers\n" " show errors : report last request and response errors for each proxy\n" " show sess [id] : report the list of current sessions or dump this session\n" " show table [id]: report table usage stats or dump this table's contents\n"