commit | 741a5a9cb4803e1e8e6b56dd2344289aa5f329c1 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Thu May 05 17:56:58 2022 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Fri May 06 18:13:36 2022 +0200 |
tree | a9e80c4ba50420fce43ddfb3498759a591f635c0 | |
parent | acf6a44908dad73a375edc5eac1c55bd0aebd5d1 [diff] |
CLEANUP: cli: make "show fd" use its own context The "show fd" command used to rely on cli.i0 for the fd, and st2 just to decide whether to stop after the first value or not. It could have been possible to decide to use just a negative integer to dump a single value, but it's as easy and more durable to declare a two-field struct show_fd_ctx for this.