From 6ccc8625b4c46ac5baf912d0ba025a3d677bffed Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Wed, 31 May 2023 15:54:48 +0200 Subject: [PATCH] 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. --- doc/management.txt | 2 +- src/quic_conn.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/management.txt b/doc/management.txt index 2bac0e9c3..e22e30134 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 c98ea9dcd..459c22ade 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 }, {{},} }};