mirror of
https://github.com/haproxy/haproxy.git
synced 2026-06-14 20:10:32 -04:00
MINOR: cli: put @master @<relative pid> @!<pid> in the help
Add help for the prefix command of the CLI. These help only displays from the CLI of the master.
This commit is contained in:
parent
35851fbaf4
commit
4e8450b7d6
1 changed files with 3 additions and 0 deletions
|
|
@ -2319,6 +2319,9 @@ static struct applet cli_applet = {
|
|||
|
||||
/* 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},
|
||||
{ { "help", NULL }, NULL, cli_parse_simple, NULL },
|
||||
{ { "prompt", NULL }, NULL, cli_parse_simple, NULL },
|
||||
{ { "quit", NULL }, NULL, cli_parse_simple, NULL },
|
||||
|
|
|
|||
Loading…
Reference in a new issue