MINOR: cli: limit spelling suggestions to 5

There's no need to suggest up to 10 entries for matching keywords,
most of the times 5 are plenty, and will be more readable.
This commit is contained in:
Willy Tarreau 2021-03-15 10:38:04 +01:00
parent ec197e83cd
commit b12bc646d5

View File

@ -42,7 +42,7 @@
#define APPCTX_CLI_ST1_NOLF (1 << 2)
#define CLI_PREFIX_KW_NB 5
#define CLI_MAX_MATCHES 10
#define CLI_MAX_MATCHES 5
/* CLI states */
enum {