haproxy/dev/flags
Willy Tarreau cd430b9b7b CLEANUP: dev/flags: remove useless test in the stdin number parser
The test on "if (err)" after parsing a number was meant to be
"if (*err)" but in practise it will always be true since we at least
have a '\n' there, so no need for testing before writing zero.
This fixes issue #1211.
2021-04-03 15:29:10 +02:00
..
flags.c CLEANUP: dev/flags: remove useless test in the stdin number parser 2021-04-03 15:29:10 +02:00
README DEV: flags: replace the unneeded makefile with a README 2021-04-02 17:48:42 +02:00
show-fd-to-flags.sh

This needs to be built from the top makefile, for example :

    make dev/flags/flags

Then the executable is usable either one value at a time from the
command line, either with values coming from stdin with "-" passed
alone instead of the value.

It is possible to restrict the decoding to certain fields only by
specifying one of "ana", "chn", "conn", "cs", "si", "sierr", "strm",
"task", or "txn" before the value.