]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: config: Add option line when the configuration file is dumped
authorErwan Le Goas <elegoas@haproxy.com>
Thu, 29 Sep 2022 08:34:04 +0000 (10:34 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 29 Sep 2022 08:53:15 +0000 (10:53 +0200)
commitf30c5d76665d8413c875b81b10c384ae9240d5f2
tree8cf31db959b365da0cecffea0d779d2daa571351
parent059d05f702db9b25a2cc959f1a20cbb93d39c336
MINOR: config: Add option line when the configuration file is dumped

Add an option to dump the number lines of the configuration file when
it's dumped. Other options can be easily added. Options are separated
by ',' when tapping the command line:
'./haproxy -dC[key],line -f [file]'

No backport needed, except if anonymization mechanism is backported.
include/haproxy/global-t.h
src/cfgparse.c
src/haproxy.c