]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MINOR: quic/cli: clarify the "show quic" help message
authorWilly Tarreau <w@1wt.eu>
Wed, 31 May 2023 13:54:48 +0000 (15:54 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 31 May 2023 14:15:24 +0000 (16:15 +0200)
Make it clear what is expected in the "<format>" field on the help line.
This should be backported to 2.7.

doc/management.txt
src/quic_conn.c

index 2bac0e9c30d4ba384a472c6e2e4752b91a2cf19f..e22e301348b095f55ca135de06fe0c648cdbb6c6 100644 (file)
@@ -3010,7 +3010,7 @@ show resolvers [<resolvers section id>]
     too_big: too big response
     outdated: number of response arrived too late (after another name server)
 
-show quic [<format>] [all]
+show quic [oneline|full] [all]
   Dump information on all active QUIC frontend connections. This command is
   restricted and can only be issued on sockets configured for levels "operator"
   or "admin". An optional format can be specified as first argument to control
index c98ea9dcdc187711c0d1ce7849602f037317847d..459c22adeddbf5056e18f321e35db773dcb6c925 100644 (file)
@@ -9045,7 +9045,7 @@ static void cli_release_show_quic(struct appctx *appctx)
 }
 
 static struct cli_kw_list cli_kws = {{ }, {
-       { { "show", "quic", NULL }, "show quic [<format>] [all]              : display quic connections status", cli_parse_show_quic, cli_io_handler_dump_quic, cli_release_show_quic },
+       { { "show", "quic", NULL }, "show quic [oneline|full] [all]          : display quic connections status", cli_parse_show_quic, cli_io_handler_dump_quic, cli_release_show_quic },
        {{},}
 }};