]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CLEANUP: cli/mworker: properly align the help messages
authorWilly Tarreau <w@1wt.eu>
Sun, 9 May 2021 20:49:44 +0000 (22:49 +0200)
committerWilly Tarreau <w@1wt.eu>
Sun, 9 May 2021 20:49:44 +0000 (22:49 +0200)
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

index 2cdb02821851e60daa2fdf4763f816fb0292a6a1..23603376166dc90ff059b7d6f46c2fbcc2284506 100644 (file)
@@ -620,11 +620,11 @@ INITCALL1(STG_REGISTER, cfg_register_keywords, &mworker_kws);
 
 /* register cli keywords */
 static struct cli_kw_list cli_kws = {{ },{
-       { { "@<relative pid>", NULL }, "@<relative pid> : send a command to the <relative pid> process", NULL, cli_io_handler_show_proc, NULL, NULL, ACCESS_MASTER_ONLY},
-       { { "@!<pid>", NULL }, "@!<pid>        : send a command to the <pid> 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},
+       { { "@<relative pid>", NULL }, "@<relative pid>                         : send a command to the <relative pid> process", NULL, cli_io_handler_show_proc, NULL, NULL, ACCESS_MASTER_ONLY},
+       { { "@!<pid>", NULL },         "@!<pid>                                 : send a command to the <pid> 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},
        {{},}
 }};