]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: stream/cli: rework "show sess" to better consider optional arguments
authorWilly Tarreau <w@1wt.eu>
Fri, 7 Mar 2025 09:21:21 +0000 (10:21 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 7 Mar 2025 09:36:58 +0000 (10:36 +0100)
commit2bd7cf53cb7b95622c2451a4e7bd46a267463617
tree5cf0a429ebdde492a039021bb453f49f64f31663
parent1cdf2869f6757946546a2ef102ce822e95de78f8
MINOR: stream/cli: rework "show sess" to better consider optional arguments

The "show sess" CLI command parser is getting really annoying because
several options were added in an exclusive mode as the single possible
argument. Recently some cumulable options were added ("show-uri") but
the older ones were not yet adapted. Let's just make sure that the
various filters such as "older" and "age" now belong to the options
and leave only <id>, "all", and "help" for the first ones. The doc was
updated and it's now easier to find these options.
doc/management.txt
src/stream.c