commit | b12bc646d5eb1af143837a05bb03341add25af4d | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Mon Mar 15 10:38:04 2021 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Mon Mar 15 10:40:13 2021 +0100 |
tree | 7d2545f9f229cfcbe93acc461a17bca5e2ee6fd0 | |
parent | ec197e83cd67ba2239cadb193289be6e148149ed [diff] |
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 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 {