mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2026-01-14 13:21:00 +01:00
BUG/MINOR: cli/stick-tables: argument to "show table" is optional
Discussed in issue #3187, the CLI help is confusing for the "show table" command as it seems that the argument is mandatory. This patch adds the arguments between square brackets to remove the confusion.
This commit is contained in:
parent
dbba442740
commit
623aa725a2
@ -5990,7 +5990,7 @@ INITCALL0(STG_INIT_2, stkt_late_init);
|
||||
static struct cli_kw_list cli_kws = {{ },{
|
||||
{ { "clear", "table", NULL }, "clear table <table> [<filter>]* : remove an entry from a table (filter: data/key)", cli_parse_table_req, cli_io_handler_table, cli_release_show_table, (void *)STK_CLI_ACT_CLR },
|
||||
{ { "set", "table", NULL }, "set table <table> key <k> [data.* <v>]* : update or create a table entry's data", cli_parse_table_req, cli_io_handler_table, NULL, (void *)STK_CLI_ACT_SET },
|
||||
{ { "show", "table", NULL }, "show table <table> [<filter>]* : report table usage stats or dump this table's contents (filter: data/key)", cli_parse_table_req, cli_io_handler_table, cli_release_show_table, (void *)STK_CLI_ACT_SHOW },
|
||||
{ { "show", "table", NULL }, "show table [<table> [<filter>]*] : report table usage stats or dump this table's contents (filter: data/key)", cli_parse_table_req, cli_io_handler_table, cli_release_show_table, (void *)STK_CLI_ACT_SHOW },
|
||||
{{},}
|
||||
}};
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user