projects
/
haproxy-2.5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec197e8
)
MINOR: cli: limit spelling suggestions to 5
author
Willy Tarreau
<w@1wt.eu>
Mon, 15 Mar 2021 09:38:04 +0000
(10:38 +0100)
committer
Willy Tarreau
<w@1wt.eu>
Mon, 15 Mar 2021 09:40:13 +0000
(10:40 +0100)
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
patch
|
blob
|
history
diff --git
a/include/haproxy/cli-t.h
b/include/haproxy/cli-t.h
index
61c9881
..
450781a
100644
(file)
--- 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 {