]> git.ipfire.org Git - thirdparty/systemd.git/commit
busctl: handle `--limit-messages` option under the `wait` verb
authorzefr0x <zer0-x.7ty50@aleeas.com>
Sat, 17 Jan 2026 19:59:22 +0000 (22:59 +0300)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 19 Jan 2026 13:41:33 +0000 (22:41 +0900)
commit985a6fa44b58c307030e43950ff2affa3f32546a
tree2bd6ebd31de1488b974e8a4d5b481e173af639b3
parent30f3a7ad516b84525bebb0beb18fb5dfbf7b15f5
busctl: handle `--limit-messages` option under the `wait` verb

Main focus was to not introduce breaking change or duplicated argument.
The `--limit-messages=` option that is used under the `monitor` verb is
reused here. However, both `wait` and `monitor` have contradicting
default behaviors, so it's not the cleanest thing to do.

There was some post-commit discussion about the API in #33961, but the
final name adopted in #34928 wasn't that flexible either to fit nicely
here in the `wait` verbe.

Additionally, there wasn't consideration in #34555 for having uniform
behavrious, so we ended with `wait` verb and `--limit-messages=` option,
rather than `receive` verb with default of continuously receving signals
withtout exit so `--limit-messages=` make more sence and be expectable.
man/busctl.xml
src/busctl/busctl.c
test/units/TEST-74-AUX-UTILS.busctl.sh