From b12bc646d5eb1af143837a05bb03341add25af4d Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Mon, 15 Mar 2021 10:38:04 +0100 Subject: [PATCH] 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. --- include/haproxy/cli-t.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/haproxy/cli-t.h b/include/haproxy/cli-t.h index 61c9881..450781a 100644 --- a/include/haproxy/cli-t.h +++ b/include/haproxy/cli-t.h @@ -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 { -- 1.7.10.4