]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: cli: print the error message in the parser function itself
authorWilly Tarreau <w@1wt.eu>
Fri, 12 Mar 2021 14:57:47 +0000 (15:57 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 12 Mar 2021 18:09:19 +0000 (19:09 +0100)
commitf3697dde2b8e79604f9d0b5f81497d0e52a773b1
tree4143950a3324c9bb63d94bdf9b0e6b261afac54b
parent91bc359571a2f92c3ff02c4b799eb442eb9490c3
MINOR: cli: print the error message in the parser function itself

By doing so we can report more accurate information about what's wrong.
As a first step, we already distinguish the case of expert-only commands
from other ones.
src/cli.c