diff options
author | Luca Boccassi <bluca@debian.org> | 2024-10-29 19:15:16 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-29 19:15:16 +0100 |
commit | a91c739a2459ab325a7ceca9789330193ce0c61e (patch) | |
tree | 7c03d2a98e5f9dc64d3a28f92f17f4e678f1cc61 /shell-completion | |
parent | Merge pull request #34245 from bluca/logind_drop_weak_delay_inhibitor (diff) | |
parent | busctl: add the usual section highlighting to our --help texts (diff) | |
download | systemd-a91c739a2459ab325a7ceca9789330193ce0c61e.tar.xz systemd-a91c739a2459ab325a7ceca9789330193ce0c61e.zip |
busctl: various bugfixes + tweaks (#34928)
Fixes: #34048
Replaces: #34796
Follow-up for: #33961
Diffstat (limited to 'shell-completion')
-rw-r--r-- | shell-completion/bash/busctl | 2 | ||||
-rw-r--r-- | shell-completion/zsh/_busctl | 2 |
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' |