From: Willy Tarreau Date: Wed, 31 May 2023 13:54:48 +0000 (+0200) Subject: MINOR: quic/cli: clarify the "show quic" help message X-Git-Tag: v2.8.0~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6ccc8625b4c46ac5baf912d0ba025a3d677bffed;p=thirdparty%2Fhaproxy.git MINOR: quic/cli: clarify the "show quic" help message Make it clear what is expected in the "" field on the help line. This should be backported to 2.7. --- diff --git a/doc/management.txt b/doc/management.txt index 2bac0e9c30..e22e301348 100644 --- a/doc/management.txt +++ b/doc/management.txt @@ -3010,7 +3010,7 @@ show resolvers [] too_big: too big response outdated: number of response arrived too late (after another name server) -show quic [] [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 diff --git a/src/quic_conn.c b/src/quic_conn.c index c98ea9dcdc..459c22aded 100644 --- a/src/quic_conn.c +++ b/src/quic_conn.c @@ -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 [] [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 }, {{},} }};