mirror of
https://github.com/systemd/systemd.git
synced 2026-08-11 01:25:28 +00:00
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.