summaryrefslogtreecommitdiffstats
path: root/shell-completion/bash
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2024-10-28 13:48:30 +0100
committerLennart Poettering <lennart@poettering.net>2024-10-29 16:50:06 +0100
commit8187515aab0b29a3068c3acdf39bd97c24c0182a (patch)
tree58d5b3da2bf987c54c2c68554819d4236e75d68c /shell-completion/bash
parentbusctl: fix timeout calculation for "busctl monitor" (diff)
downloadsystemd-8187515aab0b29a3068c3acdf39bd97c24c0182a.tar.xz
systemd-8187515aab0b29a3068c3acdf39bd97c24c0182a.zip
busctl: rename --num-matches= → --limit-messages=
We should avoid unnecessary abbreviations for such messages, and this puts a maximum limit on things, hence it should indicate this in the name. Moreover, matches is a bit confusing, since most people will probably call "busctl monitor" without any match specification, i.e. zero matches, but that's not what was meant here at all. Also, add a brief switch for this (-N) since I figure in particular "-N1" might be a frequent operation people might want to use. Follow-up for: 989e843e7543b21b91de4368da44692d674722a5 See: #34048
Diffstat (limited to 'shell-completion/bash')
-rw-r--r--shell-completion/bash/busctl2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell-completion/bash/busctl b/shell-completion/bash/busctl
index 441b2c7d43..dc2714aaae 100644
--- a/shell-completion/bash/busctl
+++ b/shell-completion/bash/busctl
@@ -89,7 +89,7 @@ _busctl() {
--allow-interactive-authorization=no --augment-creds=no
--watch-bind=yes -j -l --full --xml-interface'
[ARG]='--address -H --host -M --machine --match --timeout --size --json
- --destination --num-matches'
+ --destination -N --limit-messages'
)
if __contains_word "--user" ${COMP_WORDS[*]}; then