From 23c740ea51d8ef24b5c55d8497873c50198621fc Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Sun, 9 May 2021 22:49:44 +0200 Subject: [PATCH] CLEANUP: cli/mworker: properly align the help messages CLI help commands were re-aligned by commit b205bfdab but the master-worker ones were not done, let's do it now. --- src/mworker.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/mworker.c b/src/mworker.c index 2cdb028218..2360337616 100644 --- a/src/mworker.c +++ b/src/mworker.c @@ -620,11 +620,11 @@ INITCALL1(STG_REGISTER, cfg_register_keywords, &mworker_kws); /* register cli keywords */ static struct cli_kw_list cli_kws = {{ },{ - { { "@", NULL }, "@ : send a command to the process", NULL, cli_io_handler_show_proc, NULL, NULL, ACCESS_MASTER_ONLY}, - { { "@!", NULL }, "@! : send a command to the process", cli_parse_default, NULL, NULL, NULL, ACCESS_MASTER_ONLY}, - { { "@master", NULL }, "@master : send a command to the master process", cli_parse_default, NULL, NULL, NULL, ACCESS_MASTER_ONLY}, - { { "show", "proc", NULL }, "show proc : show processes status", cli_parse_default, cli_io_handler_show_proc, NULL, NULL, ACCESS_MASTER_ONLY}, - { { "reload", NULL }, "reload : reload haproxy", cli_parse_reload, NULL, NULL, NULL, ACCESS_MASTER_ONLY}, + { { "@", NULL }, "@ : send a command to the process", NULL, cli_io_handler_show_proc, NULL, NULL, ACCESS_MASTER_ONLY}, + { { "@!", NULL }, "@! : send a command to the process", cli_parse_default, NULL, NULL, NULL, ACCESS_MASTER_ONLY}, + { { "@master", NULL }, "@master : send a command to the master process", cli_parse_default, NULL, NULL, NULL, ACCESS_MASTER_ONLY}, + { { "show", "proc", NULL }, "show proc : show processes status", cli_parse_default, cli_io_handler_show_proc, NULL, NULL, ACCESS_MASTER_ONLY}, + { { "reload", NULL }, "reload : reload haproxy", cli_parse_reload, NULL, NULL, NULL, ACCESS_MASTER_ONLY}, {{},} }};