From: Willy Tarreau Date: Mon, 15 Mar 2021 09:38:04 +0000 (+0100) Subject: MINOR: cli: limit spelling suggestions to 5 X-Git-Tag: v2.4-dev13~34 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b12bc646d5eb1af143837a05bb03341add25af4d;p=thirdparty%2Fhaproxy.git 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. --- diff --git a/include/haproxy/cli-t.h b/include/haproxy/cli-t.h index 61c988141b..450781ab5d 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 {