summaryrefslogtreecommitdiffstats
path: root/shell-completion
diff options
context:
space:
mode:
Diffstat (limited to 'shell-completion')
-rw-r--r--shell-completion/bash/busctl2
-rw-r--r--shell-completion/zsh/_busctl2
2 files changed, 2 insertions, 2 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
diff --git a/shell-completion/zsh/_busctl b/shell-completion/zsh/_busctl
index 5e16d0f1a1..296afd1e24 100644
--- a/shell-completion/zsh/_busctl
+++ b/shell-completion/zsh/_busctl
@@ -310,5 +310,5 @@ _arguments \
'--allow-interactive-authorization=[Allow interactive authorization for operation]:boolean:(1 0)' \
'--timeout=[Maximum time to wait for method call completion and monitoring]:timeout (seconds)' \
'--augment-creds=[Extend credential data with data read from /proc/$PID]:boolean:(1 0)' \
- '--num-matches=[Exit after receiving a number of matches while monitoring]:integer' \
+ '(-M --limit-messages)'{-M,--limit-messages}'[Exit after receiving a number of messages while monitoring]:integer' \
'*::busctl command:_busctl_commands'